Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Mar 2001 02:04:22 -0800
From:      "Jonathan Graehl" <jonathan@graehl.org>
To:        "Freebsd-Net" <freebsd-net@freebsd.org>
Subject:   RE: Deamon with perl
Message-ID:  <NCBBLOALCKKINBNNEDDLOENODLAA.jonathan@graehl.org>
In-Reply-To: <3AA0B85D.72020281@softweyr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > $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?)

-Jon


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NCBBLOALCKKINBNNEDDLOENODLAA.jonathan>