loopback udp example?
Posted: Sat Dec 23, 2017 4:35 pm
Hello.
Does anyone have an example of udp with the loopback interface? I have a server process waiting on a select() and would like to add the udp listener to its list of FDs so I can wake it up and shut it down cleanly from another thread. Using the loopback address was intended to avoid allowing outside network entities from shutting the server down.
Chris
Does anyone have an example of udp with the loopback interface? I have a server process waiting on a select() and would like to add the udp listener to its list of FDs so I can wake it up and shut it down cleanly from another thread. Using the loopback address was intended to avoid allowing outside network entities from shutting the server down.
Chris