loopback udp example?

cmorgan
Posts: 89
Joined: Thu Aug 24, 2017 12:52 am

loopback udp example?

Postby cmorgan » 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

Who is online

Users browsing this forum: No registered users and 80 guests