[jcifs] Question: NetServerEnum2

Allen, Michael B (RSCH) Michael_B_Allen at ml.com
Wed Apr 9 14:00:21 EST 2003


I think I just made it up. I found 0xFFFF would result in errors. I never really investigated why.

> -----Original Message-----
> From:	Christopher R. Hertel [SMTP:crh at ubiqx.mn.org]
> Sent:	Tuesday, April 08, 2003 11:07 PM
> To:	Michael B.Allen
> Cc:	Eric Sword; jcifs at lists.samba.org
> Subject:	[jcifs] Question: NetServerEnum2
> 
> Mike,
> 
> I note that the RecBufLen (Receive Buffer Length) in the jCIFS
> NetServerEnum2 implementation is given as 66023, which is exactly 512 less 
> than 0XFFFF.
> 
> Other examples also use values that are <some interesting number> less
> than a familiar boundary.
> 
> Where does this come from?
> 
> Chris -)-----
> 
> -- 
> Samba Team -- http://www.samba.org/     -)-----   Christopher R. Hertel
> jCIFS Team -- http://jcifs.samba.org/   -)-----   ubiqx development, uninq.
> ubiqx Team -- http://www.ubiqx.org/     -)-----   crh at ubiqx.mn.org
> OnLineBook -- http://ubiqx.org/cifs/    -)-----   crh at ubiqx.org



More information about the jcifs mailing list