Jonathan Graehl wrote:
> 
> > > $local_socket = sockaddr_in($port, inet_aton(INADDR_ANY) );
> > >
> > > to
> > >
> > > $local_socket = sockaddr_in($port,INADDR_ANY );
> > >
> > > now is working fine on FBSD 3.x.
> >
> > Ah.  Ick.  Perl.  Bleh.
> 
> He'd have the same problem in C (except that the compiler would catch it -
> INADDR_ANY is not a string, I guess that is your point?)

Yeah, it should either check the type or convert it appropriately: the C
way, or the Python way. ;^)

-- 
            "Where am I, and what am I doing in this handbasket?"

Wes Peters                                                         Softweyr LLC
[EMAIL PROTECTED]                                           http://softweyr.com/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to