TOSMBClient icon indicating copy to clipboard operation
TOSMBClient copied to clipboard

Failed to broadcast: No route to host

Open jicher-tang opened this issue 5 years ago • 2 comments

_session = [[TOSMBSession alloc] initWithHostName:@"JD-TT" ipAddress:@"192.168.0.103"]; [_session setLoginCredentialsWithUserName:@"JD123" password:@"123456"];

Run program console print: [Failed to broadcast: No route to host], what's the problem? Don't you have this problem with the latest development system? The environment I'm using is: Ios is 13.3, xcode is 11.3, and MAC OS is 10.15. Can you give me some ideas on how to solve this problem?

jicher-tang avatar Jan 12 '20 02:01 jicher-tang

Hi @jicher-tang! I'm not actively working on this library at the moment. It's using a rather old version of libdsm now. If you want, try running the build script to pull and build a fresh version.

In the future, I'm going to retire this library and replace it with one that supports SMBv2 and 3. This one only supports.

If you would prefer SMB2, there's a Swift library available for that over here: https://github.com/amosavian/AMSMB2

TimOliver avatar Jan 12 '20 04:01 TimOliver

Thank you very much for your reply!

jicher-tang avatar Jan 12 '20 13:01 jicher-tang