TCP connections recycle used port numbers
Posted: Thu Mar 04, 2010 4:32 am
Hello,
my netburner app only uses 3 different local ports for outgoing TCP connections: 32809, 32810, and 32811. Even though I have passed 0 to randomly use an unsed port number. According to the connect() function documentation for the local port: If zero (0) a randomly selected port > 0x8000 will be used.
The network sniffer wireshark reports errors like
Could it be a result of static IP address configuration?
Stephan
my netburner app only uses 3 different local ports for outgoing TCP connections: 32809, 32810, and 32811. Even though I have passed 0 to randomly use an unsed port number. According to the connect() function documentation for the local port: If zero (0) a randomly selected port > 0x8000 will be used.
The network sniffer wireshark reports errors like
- "TCP Port numbers reused",
- "TCP Retransmission", and
- "TCP Dup ACK 26147#5".
Could it be a result of static IP address configuration?
Stephan