[jcifs] Question on TCP vs UDP

Christopher R. Hertel crh at ubiqx.mn.org
Mon Sep 10 05:41:57 GMT 2007


Tetsu,

SMB file sharing is done over TCP only.  UDP is not used for other
protocols, such as NetBIOS Name Service and Datagram Service.  There is a
lot of information here:  http://ubiqx.org/cifs/

Chris -)-----

tetsu.soh at nts.ricoh.co.jp wrote:
> Hi everyone,
> 
> Sorry for my ignorance in advance.
> I am confused about when jcifs use UDP and when use TCP to transport data.
> Does jcifs switch from UDP to TCP when the packages are too large to
> handle?
> And is it possible to force the jcifs use UDP or TCP programmatically?
> 
> Thanks.
> Tetsu
> 

-- 
"Implementing CIFS - the Common Internet FileSystem"    ISBN: 013047116X
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