[jcifs] How to create multiple TCP connections for the same server in a thread !!

Michael B Allen ioplex at gmail.com
Thu Feb 26 16:10:50 GMT 2009


On Thu, Feb 26, 2009 at 6:17 AM, Cittarasu Thirunavukkarasu
<cittarasu at gmail.com> wrote:
> Hi Michael,
>
> Thanks for the info, Can you please elaborate, that is where to sabotage the
> jcifs code so that jcifs/smb/SmbSession.matches()  always returns false ?

The matches() method checks to see if an existing connection matches
the supplied information. This is where JCIFS determines if it should
create a new connection or re-use an existing one. So if that method
returns false, it will always use a new connection.

Mike

-- 
Michael B Allen
Java Active Directory Integration
http://www.ioplex.com/


More information about the jcifs mailing list