> 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 op
Hello John,
If you connect to a server, then the server accept the connection into a
local port which is different from the listening port. This is how
winsock works, because the Listening port stay listening.
this cannot be different because if the same port should be used for
data transfer then
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 win