Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14253 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6948 invoked by uid 1010); 31 Dec 2004 16:39:11 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 6929 invoked from network); 31 Dec 2004 16:39:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Dec 2004 16:39:11 -0000 X-Host-Fingerprint: 64.233.184.199 wproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.184.199:7519] helo=wproxy.gmail.com) by pb1.pair.com (ecelerity HEAD (r3992M)) with SMTP id 85/78-10264-DA085D14 for ; Fri, 31 Dec 2004 11:39:09 -0500 Received: by wproxy.gmail.com with SMTP id 36so256510wri for ; Fri, 31 Dec 2004 08:39:07 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=YbtXRU4F4O3tgIfB8mGIH62GeYmhGSpdw/cxVIwvJFexSYxvshVTN+QaQemB/JtY7eYzWkzUinzt6otR1Fq/mSvuptLdDmLNPV37Gx3jY9uweXwze/4g0hnX94HJjfgZmaEXbCY9KF3jd4EZyVSN4uipx/5kTj6h5axiM+54BkI= Received: by 10.54.19.32 with SMTP id 32mr190958wrs; Fri, 31 Dec 2004 08:39:07 -0800 (PST) Received: by 10.54.59.35 with HTTP; Fri, 31 Dec 2004 08:39:07 -0800 (PST) Message-ID: <30bd8024041231083963be277d@mail.gmail.com> Date: Fri, 31 Dec 2004 11:39:07 -0500 Reply-To: =?ISO-8859-1?Q?Nicolas_B=E9rard_Nault?= To: internals@lists.php.net Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [PATCH] Get the internet family of an address From: nicobn@gmail.com (=?ISO-8859-1?Q?Nicolas_B=E9rard_Nault?=) Hi, URL: http://www.lapsus-engineer.org/inet_getaddrfam.diff The new function (int inet_getaddrfam(address)) will return AF_INET or AF_INET6, depending of the family of the address. If it does not seem to be a correct address, FALSE is returned. All sorts of comments will be appreciated. Thank you.