Skip to main content
14 votes
Accepted

TCP source port sharing

There is no reason why two processes cannot use the same source port, as long as they do not both connect to the same destination (host, port). On many UNIX systems, set the SO_REUSEPORT option to ...
nneonneo's user avatar
  • 268
8 votes

TCP source port sharing

Any port is only ever allocated to a single process at any point in time. That process can create any number of connections with it, with the restriction that the destination IP address or port number ...
Zac67's user avatar
  • 12.2k
2 votes

TCP source port sharing

While the TCP protocol itself allows arbitrary combinations of local and remote ports and addresses, most Unix implementations simplify port management. The reason is that the process of setting up ...
Barmar's user avatar
  • 394
1 vote

TCP source port sharing

After some investigations I found that source port sharing is only allowed for multiple outgoing connections from the same process. The operating system needs to know which process to forward the ...
doc_id's user avatar
  • 1,665

Only top scored, non community-wiki answers of a minimum length are eligible