Newsgroups : Borland : borland.public.delphi.internet.winsock : 2005 Apr : Get external (Non-LAN) IP address from TIdTCPServer

www.cryer.info
Managed Newsgroup Archive

Get external (Non-LAN) IP address from TIdTCPServer

Subject:Get external (Non-LAN) IP address from TIdTCPServer
Posted by:"Annika K" (no..@none.com)
Date:Tue, 12 Apr 2005 09:50:56

If in the OnExecute event handler I do this...
  AThread.Connection.Socket.Binding.PeerIP
...I get the LAN (internal) IP address.  I would like to get the external IP
address.
Any suggestions?

Thanks

Replies:

www.cryer.info
Managed Newsgroup Archive