[jcifs] Question about SmbTransport.java, Performance improvement
thomas.bley at simple-groupware.de
Mon Apr 10 02:33:59 GMT 2006
In SmbTransport.java there is in doConnect():
tconHostName = address.getHostName()
I changed this to:
tconHostName = address.getHostAddress();
Now connecting is (very) much faster, and I can even use
smb://administrator:email@example.com/ as smb-url.
(I tested Samba, WinXP, w2k3 and w2k3 as ad-controller)
Are there any reasons why I need getHostName() ? Do I need it for NetBios ?
More information about the jcifs