Board index » delphi » Grabbing Client IP using Indy TCP Server component

Grabbing Client IP using Indy TCP Server component

Is there a way to grab the incoming IP address of the client that has
connected to my server application?
 

Re:Grabbing Client IP using Indy TCP Server component


Hi Seth.
"Seth Ricard" <sric...@docpublish.com> skrev i en meddelelse
news:97jsaj$jlv3@bornews.inprise.com...
Quote
> Is there a way to grab the incoming IP address of the client that has
> connected to my server application?

You can use the AThread.Connection.Binding.PeerIP
to get the clients IP address.

/Jan

Re:Grabbing Client IP using Indy TCP Server component


[This followup was posted to borland.public.delphi.internet.winsock and a
copy was sent to the cited author.]

In article <97jsaj$j...@bornews.inprise.com>, sric...@docpublish.com
says...

Quote
> Is there a way to grab the incoming IP address of the client that has
> connected to my server application?

AThread.Connection.Binding.PeerIP .

HTH.
--
Support the anti-Spam amendment - Join at http://www.cauce.org/
J. Peter Mugaas     E-Mail:  oma00...@mail.wvnet.edu
http://wvnvm.wvnet.edu/~oma00215/  ICQ Number:  14297043
Finger for PGP Key

Re:Grabbing Client IP using Indy TCP Server component


Thank you both!

Quote
"Seth Ricard" <sric...@docpublish.com> wrote in message

news:97jsaj$jlv3@bornews.inprise.com...
Quote
> Is there a way to grab the incoming IP address of the client that has
> connected to my server application?

Other Threads