🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #1962

Re: gethostbyaddr() does not return any info

#1962
From: Kris
Date: Tue, 15 May 2007 10:44
14 lines
1376 bytes
Hans Galema wrote:
 > Add some code before and afther what you already have:

Cool. After I changed one little thing in your example code I got it 
working perfectly now. I changed the
gethostbyaddr(..., 0 );
into
gethostbyaddr(..., AF_INET );

Thank you very much for your help.

Regards,

Kris
Technical Details
Message-ID: <46498f05$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!feeder5.cambrium.nl!feeder2.cambrium.nl!feed.tweaknews.nl!xlned.com!feeder1.xlned.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <46497388$1@newsgroups.borland.com> <46497ef8$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d22c882963cf68b8
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 15 May 2007 12:44:07 +0200
From: Kris <test@test.com>
User-Agent: Thunderbird 2.0.0.0 (Windows/20070326)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: gethostbyaddr() does not return any info
References: <46497388$1@newsgroups.borland.com> <46497ef8$1@newsgroups.borland.com>
In-Reply-To: <46497ef8$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 81.242.6.168
Message-ID: <46498f05$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1179225861 81.242.6.168 (15 May 2007 03:44:21 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!feeder5.cambrium.nl!feeder2.cambrium.nl!feed.tweaknews.nl!xlned.com!feeder1.xlned.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail