]> git.meshlink.io Git - meshlink/commit
Declare the channel API.
authorGuus Sliepen <guus@meshlink.io>
Sat, 26 Jul 2014 12:17:11 +0000 (14:17 +0200)
committerGuus Sliepen <guus@meshlink.io>
Sat, 26 Jul 2014 12:17:11 +0000 (14:17 +0200)
commit287899bd4015afe0faff84545f95227846a01b65
tree6f83d2c19ad183a174fbec9442fb68c6b203aa42
parent0899f51a44366f11a49dd53d67ceb7712a02e650
Declare the channel API.

Channels are very much like TCP connections. Willingness to accept channels is declared by
setting a channel_accept callback. New channels can be created by calling channel_open(),
data can be sent using channel_send() and data received is passed via a channel_receive
callback.
src/meshlink++.h
src/meshlink.h