Archived

This forum has been archived. Please start a new discussion on GitHub.

What is the meaning of "-c" in an UDP endpoint?

According the the Ice manual, "-c" in an UDP endpoint(udp -h host -p port -c -z) means: Causes the server to connect to the socket of the first peer that sends a datagram to this endpoint. So in this case, the server can only serve one client, right ? When will this feature be useful ?

Thanks!

Comments

  • marc
    marc Florida
    That's a good question :) I used to use connected UDP sockets for firewall traversal. The predecessor of Glacier2 made use of this feature for UDP callbacks. However, it has not been used since then (at least not by anyone here at ZeroC).