Skip to main content
4 events
when toggle format what by license comment
Aug 17, 2017 at 6:43 vote accept Yury
Aug 16, 2017 at 15:02 comment added Peter Green As long as you keep that socket open you will keep the local port on the client.
Aug 16, 2017 at 5:31 comment added Yury Thank you for your answer! This is what exactly I want to know. I just want to clarify one thing. Once local port is assigned implicitly (I assume by the network stack of an operating system), what is the default behavior? I.e., if I develop an application opening one socket and relying on the OS to assign source port, by default is it going to assign one source port until the socket is closed (or timeout?) or new source port for every new request?
Aug 15, 2017 at 16:18 history answered Peter Green CC BY-SA 3.0