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.


------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to