From owner-freebsd-hackers Mon Nov 24 00:44:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA16825 for hackers-outgoing; Mon, 24 Nov 1997 00:44:16 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from lily.ezo.net (root@lily.ezo.net [206.102.130.13]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA16815 for ; Mon, 24 Nov 1997 00:44:11 -0800 (PST) (envelope-from jflowers@ezo.net) Received: from lily.ezo.net (jflowers@localhost.ezo.net [127.0.0.1]) by lily.ezo.net (8.8.7/8.8.7) with SMTP id DAA03019 for ; Mon, 24 Nov 1997 03:43:09 -0500 (EST) Date: Mon, 24 Nov 1997 03:43:09 -0500 (EST) From: Jim Flowers To: freebsd-hackers@freebsd.org Subject: inet_addr function? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am tyring to debug a C program that uses functions named inet_ntoa and inet_addr. I found inet_ntoa ok but there does not seem to be an inet_addr, anywhere. It's purpose is to convert a dotted quad (###.###.###.###) Internet address into an unsigned long. I suppose if worse comes to worse I could just write it but the context looks as if it is supposed to be an OS function that I should just be able to get in a .h file somewhere. Any help? ; Thanks. Jim Flowers #4 ISP on C|NET, #1 in Ohio