Nicolas Williams writes: > 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.
Ick. > 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. Right. Besides infeasible for subnets configured with short prefixes and (of course) IPv6. -- James Carlson, Solaris Networking <james.d.carlson at sun.com> Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
