]> git.meshlink.io Git - meshlink/commit
Allow meshlink_start() to work after meshlink_stop().
authorGuus Sliepen <guus@meshlink.io>
Thu, 7 Aug 2014 14:27:43 +0000 (16:27 +0200)
committerGuus Sliepen <guus@meshlink.io>
Thu, 7 Aug 2014 14:27:43 +0000 (16:27 +0200)
commitf8be16a427a3eeb89c3489975ba5099943262c59
treefeb560530e86b44ecbee73f5cabb2dbc53ca13dd
parentf45b2b5dbcd1fb7af7a92c54834b9cc3dd5326d4
Allow meshlink_start() to work after meshlink_stop().

The way the MeshLink thread is signaled that it has to quit using
meshlink_stop() is by shutting down one of the listening sockets.
However, it has to be repaired to allow meshlink_start() to work again.

Maybe not the prettiest solution.
src/meshlink.c