[jcifs] About disconnection.

tetsu.soh at nts.ricoh.co.jp tetsu.soh at nts.ricoh.co.jp
Tue Aug 29 07:00:10 GMT 2006


Hi everyone,

I was reading JCIFS source code and found that we can't do disconnection
from outside of package.

The disconnection() method in Transport class is only called when exception
is catched.

Does it mean that If I create a Java App and connect to 10 different SMB
Server, the application will keep 10 socket connection alive?

How can I close the connection without shutdown Java App?

Thanks.




More information about the jcifs mailing list