]> 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, 9 Sep 2021 15:40:19 +0000 (17:40 +0200)
commit04dd482595d583a1221a794712866167a3e9e490
tree78ab8bfe0b260a8597a1adeec677f7df5abaf7df
parent9afd58432f78ccb027cabc6c7282d42dc3dd874f
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