From owner-freebsd-net Sat Mar 3 3: 5:21 2001 Delivered-To: freebsd-net@freebsd.org Received: from molly.straylight.com (molly.straylight.com [209.68.199.242]) by hub.freebsd.org (Postfix) with ESMTP id 1040837B71A for ; Sat, 3 Mar 2001 02:02:52 -0800 (PST) (envelope-from jonathan@graehl.org) Received: from dickie (case.straylight.com [209.68.199.244]) by molly.straylight.com (8.11.0/8.10.0) with SMTP id f23A2ox11213 for ; Sat, 3 Mar 2001 02:02:50 -0800 From: "Jonathan Graehl" To: "Freebsd-Net" Subject: RE: Deamon with perl Date: Sat, 3 Mar 2001 02:04:22 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 In-Reply-To: <3AA0B85D.72020281@softweyr.com> Importance: Normal Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > $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