[jcifs] Quick jCIFS doco question.

Michael B Allen mba2000 at ioplex.com
Mon Jan 12 11:18:50 GMT 2004


> From the jCIFS javadoc:
>
> jcifs.smb.client.tcpNoDelay
>   If this property is true , the socket that jCIFS uses will wait for a
>   fraction of a second to collect several messages for more efficient
>   transmission in one packet. This sets the setTcpNoDelay for the NetBIOS
>   socket to true. By default Java sockets and the jCIFS client do not delay;
>   the default value is false.
>
> That seems backward.  If TCP_NODELAY is set (true) then there should be, er,
> "no delay".

You're right. The property description is wrong. In fact the description should
just refer to the socket.setTcpNoDelay() method.

Mike

-- 
A program should be written to  model the concepts of the task it
performs rather than the physical world or a process because this
maximizes the  potential for it  to be applied  to tasks that are
conceptually similar and, more  important, to tasks that have not
yet been conceived.


More information about the jcifs mailing list