🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #4610

Re: host name to ip

#4610
From: Hans Galema
Date: Tue, 18 Jan 2005 14:05
16 lines
1426 bytes
duncan wrote:

>>Have a look at winsock2.h gethostbyname() and gethostbyaddr().

> have you got any examples on how to use the above

Better seach old newsgroup archives as examples have been posted
here many times.

http://www.google.com/advanced_group_search?hl=en

Fill in for: Return only messages from the newsgroup: *cppbuilder*

Please try that first.

Hans.
Technical Details
Message-ID: <41ed17f1$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!newsprint.newsread.com!news-hog.berkeley.edu!ucberkeley!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <41ecf12e$1@newsgroups.borland.com> <41ecf6cb@newsgroups.borland.com> <41ed15c7$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,5df03dd94d1f099f
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 18 Jan 2005 15:05:43 +0100
From: Hans Galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: host name to ip
References: <41ecf12e$1@newsgroups.borland.com> <41ecf6cb@newsgroups.borland.com> <41ed15c7$1@newsgroups.borland.com>
In-Reply-To: <41ed15c7$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 129.125.201.248
Message-ID: <41ed17f1$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1106057201 129.125.201.248 (18 Jan 2005 06:06:41 -0800)
Lines: 16
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!newsprint.newsread.com!news-hog.berkeley.edu!ucberkeley!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail