Get port of the incoming tcp connection?

Assuming you have a System.Net.Sockets. Socket object, Type-cast its RemoteEndPoint property to an IPEndPoint and then read its Port property.

Sure but I need the client port for NAT punchtrough a server. I don't need the port where the client program is binded but the one of the connection aasigned by the router – Stefano Apr 25 at 18:38 Then I'd suggest you go to rfc-editor. Org/rfcsearch.

Html and search for NAT and/or Network Address Translation. And the work through the RFCs. Also see en.wikipedia.Org/wiki/NAT_traversal – Nicholas Carey Apr 25 at 19:18.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions