]> git.meshlink.io Git - meshlink-tiny/commit
Use a loopback UDP socket instead of a pipe.
authorGuus Sliepen <guus@meshlink.io>
Mon, 12 Jul 2021 19:54:22 +0000 (21:54 +0200)
committerGuus Sliepen <guus@meshlink.io>
Thu, 2 Sep 2021 21:50:51 +0000 (23:50 +0200)
commit45b59d87c07ca0038f98aea499435e502f0ba80b
tree60f8c6790f5c1e5a2bc8bdc0d07361e44e865b9e
parentfd437cb61fefdc4abf44813a171c9cf18df695b3
Use a loopback UDP socket instead of a pipe.

The ESP32 doesn't provide pipe(), to ensure we can wake up select() we have
to use a socket bound to localhost so we can send a dummy packet to ourself.
src/event.c