🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: host name to ip

#4609
From: duncan
Date: Tue, 18 Jan 2005 13:57
10 lines
1251 bytes
Thanks Hans, 

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

have you got any examples on how to use the above, I have trawled through, the borland help and I am unsure of how to utilise the above services.

thanks,

Duncan
Technical Details
Message-ID: <41ed15c7$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!newsprint.newsread.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41ecf12e$1@newsgroups.borland.com> <41ecf6cb@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
From: "duncan" <nospam@nospam.com>
Sender: "duncan" <nospam@nospam.com>
Reply-To: "duncan" <nospam@nospam.com>
Subject: Re: host name to ip
Newsgroups: borland.public.cppbuilder.internet.socket
X-User-Info: 194.129.249.241     
References: <41ecf12e$1@newsgroups.borland.com> <41ecf6cb@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <41ed15c7$1@newsgroups.borland.com>
Date: 18 Jan 2005 05:57:27 -0800
X-Trace: newsgroups.borland.com 1106056647 207.105.83.66 (18 Jan 2005 05:57:27 -0800)
Lines: 10
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!newsprint.newsread.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail