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

Cittarasu Thirunavukkarasu cittarasu at gmail.com
Mon Mar 2 04:31:07 GMT 2009


HI Michael,

I did some experiment and found out that by setting the SSN limit to 1
worked for me. It created different TCP tuples !!!

Here is the command :

jcifs.Config.setProperty("jcifs.smb.client.ssnLimit", "1" );

Thanks for all your guidance.

Regards,
Chitu

2009/2/27 Cittarasu Thirunavukkarasu <cittarasu at gmail.com>

> 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