hierynomus / smbj

Server Message Block (SMB2, SMB3) implementation in Java
Other
707 stars 180 forks source link

com.hierynomus.smbj.connection.Connection get remote server name is incorrect #767

Open Tangwego opened 1 year ago

Tangwego commented 1 year ago

The result is an ip address. I need server name like 'localhost.local'

hierynomus commented 1 year ago

I'm not sure I understand your question?

Tangwego commented 1 year ago

result of 'Connection.getRemoteHostname()' is not a host name, It's an ip address.