Hmmm... let's see...
/*
** Bind to a local IP# (with unknown port - let unix decide) so
** we have some chance of knowing the IP# that gets used for a host
** with more than one IP#.
*/
/* No we don't bind it, not all OS's can handle connecting with
** an already bound socket, different ip# might occur anyway
** leading to a freezing select() on this side for some time.
** I had this on my Linux 1.1.88 --Run
if (bind(cptr->fd, (struct sockaddr *)&mysk, sizeof(mysk)) == -1)
{
report_error("error binding to local port for %s:%s", cptr);
return NULL;
}
*/
Looks like all Undernet-derived ircd's don't bind to the IP explicitly. I
don't know about EFnet-derived ones, but I suspect they probably caught on.
Flame me if I'm wrong :-) -rt
-- Ryan Tucker . . ann-arbor.mi.us.undernet.org irc admin rtucker@ttgcitn.com . . . netins.net user development group http://puck.nether.net/~rtucker . . . nether.net co-root/god PGP Public Key: finger rtucker@worf.netins.net. . . ttgcitn.com owner