Problem: 2 connects with same sourceip:port to different destip:port fail
Solution: during a connect with a TCP endpoint if a source address is passed set the SO_REUSEADDR flag on the socket before the bind system call. Add unit test to cover this case for both IPv4 and IPv6.
Showing
Please
register
or
sign in
to comment