Newsgroups : Borland : borland.public.delphi.internet.winsock : 2005 Feb : IP address form data

www.cryer.info
Managed Newsgroup Archive

IP address form data

Subject:IP address form data
Posted by:"Stephen Slovensky" (sslove..@optonline.net)
Date:Mon, 14 Feb 2005 18:09:49

I'm using the IdTCPserver component.

When a connection is made and data arrives it's processed in the OnExecute
method of the component.  I can read a write data fine but I would like to
know the IP address of where the packet came from.  I've been looking at the
properties of the component but can't find a peerIP property like in the UDP
component.

Any ideas how I can find the IP of the incoming data?

Thanks.

Replies:

www.cryer.info
Managed Newsgroup Archive