On Thu, Apr 24, 2003 at 01:45:01AM +0200, Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum scribbled:
Good suggestion. Port=0 => bind any port, Port=-1 => bind no port. Seems to fit in rather nicely.
Also, Martin reminded me about something else. The patch I've sent includes code to set the default family when creating sockets. Another feature is that it is possible to have the code automatically switch the default family when first non-default family address is created. That should pretty much cover all the cases,
marek