Patrick wrote:

> One the SSLServerSocker contrucors has the reuseAddr parameter.
> the javadoc says: "Reuse the local bind port; this parameter sets the
> SO_REUSEADDR option on the socket before calling bind(). The default is
> false for backward compatibility"
> 
> Can somebody educate me and explain this a bit more? When would this be
> useful?


This is a standard socket option. "man setsockopt" will probably say the 
same thing as the javadoc you quoted above. For a more in-depth 
explanation, I recommend _UNIX Network Programming, Volume I_ by W. 
Richard Stevens, 2nd edition, section 7.5 "Generic Socket Options."

http://www.amazon.com/exec/obidos/ASIN/013490012X/qid=1008204271/sr=8-1/ref=sr_8_71_1/107-3677724-6727747

http://www1.fatbrain.com/asp/bookinfo/bookinfo.asp?theisbn=013490012X&vm=

http://shop.barnesandnoble.com/textbooks/booksearch/isbninquiry.asp?userid=197QSDDYVW&mscssid=B5A5P7NAEKPL8H452FXRKAKAABNKEGQ4&isbn=013490012X


Reply via email to