Danisment Gazi Unal
2014-04-22 07:50:17 UTC
Hello!
I've a fix port to bind. But, I want to rebind this port even if it's in
TIME_WAIT state. So, I want to use Socket.setReuseAddress(true).
But, when enabled SO_REUSEADDR, as mentioned at
http://developerweb.net/viewtopic.php?id=2941, there is a risk that new
connection using same server,serverport,client,clientport TCP tuple may
receive network packet from old connection. does SSH protocol handle this
confusion ?
As a result, I am asking that can I use Socket.setReuseAddress(true) safely
in SSH connections ?
thanks.
I've a fix port to bind. But, I want to rebind this port even if it's in
TIME_WAIT state. So, I want to use Socket.setReuseAddress(true).
But, when enabled SO_REUSEADDR, as mentioned at
http://developerweb.net/viewtopic.php?id=2941, there is a risk that new
connection using same server,serverport,client,clientport TCP tuple may
receive network packet from old connection. does SSH protocol handle this
confusion ?
As a result, I am asking that can I use Socket.setReuseAddress(true) safely
in SSH connections ?
thanks.