On Thu, Aug 30, 2007 at 02:22:07PM -0400, James Carlson wrote: > Nicolas Williams writes: > > What if the software uses only "connected" UDP sockets? Will UDP > > datagrams sent to that port by nodes which are not the remote side of a > > connected UDP socket elicit an ICMP? > > How are you going to use a "connected" UDP socket when the point of > this project is to _discover_ nodes on the network, and thus the > daemon doesn't already know what addresses those nodes have and cannot > formulate a viable connect() call?
Unicast to every node on the subnet, rather than broadcast and listen. But of course, if you'll do that then you'll have a connected socket to every address on the subnet, at least during queries, which makes this pointless.
