I am using GetPeerName on an outgoing TXSocket to get/confirm the server
details in the OnSessionConnected event.  I am specifically connecting to a
fixed address and a fixed port.  The Address is returned correctly, however
the port number (PeerName.sin_port) is never correct.

If I open a DOS window and use NETSTAT I see the expected port (i.e. the one
I asked to connect to)

Is this a known issue?

Regards

Dr John M Porteous

Chemigraphic Ltd                                Tele:     01293 543517
(office)
The Fleming Centre                      Tele:     01293 843385 (DDI)
Fleming Way                                     Fax:      01293 552859
Crawley                                 Mobile: 07802 402 226
RH10 9NF                                        Email:
[EMAIL PROTECTED]


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to