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

Cittarasu Thirunavukkarasu cittarasu at gmail.com
Fri Feb 27 05:27:29 GMT 2009


Hi Michael,

I couldn't able to find the method matches() in the source code
smb/SmbSession.java ?? Am I missing something ?

Please advice.

Thanks
Chitu

2009/2/26 Michael B Allen <ioplex at gmail.com>

> 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/
>
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the jcifs mailing list