🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Resolving Host And IP adress with indy 9?

#4015
From: qyte
Date: Wed, 27 Apr 2005 08:13
10 lines
1223 bytes
I am using IdTCP in an app to connect two
instances of a program.

is there a way of finding out both
RemoteHost and RemoteAddress of the other
side of the peer?

I found that IdTCP->Socket->binding->IP
gets either the ip address or the host.
How can i resolve both of them?
Technical Details
Message-ID: <426f49c3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!fr.ip.ndsoftware.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,f31a2c5d91adaad8,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Wed, 27 Apr 2005 11:13:52 +0300
From: qyte <gyte@vivodinet.gr>
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: Resolving Host And IP adress with indy 9?
Content-Type: text/plain; charset=ISO-8859-7; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 62.74.141.16
Message-ID: <426f49c3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1114589635 62.74.141.16 (27 Apr 2005 01:13:55 -0700)
Lines: 10
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!fr.ip.ndsoftware.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail