]> git.meshlink.io Git - utcp/commit
Add utcp_abort_all_connections function.
authorSS Roop <sairoop@elear.solutions>
Fri, 15 Feb 2019 05:27:32 +0000 (10:57 +0530)
committerGuus Sliepen <guus@sliepen.org>
Sun, 24 Feb 2019 16:42:37 +0000 (17:42 +0100)
commit1ed9c137140a4896cb0aa07f48dcb7182c8271d3
treee557e9d90804f05d5115f0ef975b45dce0ffe74d
parentfad2787f2394bad3cf105ca5b4cf411db6d34aa6
Add utcp_abort_all_connections function.

This adds a function to abort all open connections without invalidating
the utcp_connection_t handles. Its main purposes is when the application
knows communication with the peer is definitely not possible/desired anymore.
A RST packet will be sent to each connection's remote end, and the
receive callback will be invoked to indicate an error on each
connection.
utcp.c
utcp.h