Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to broadcast: No route to host #69

Open
jicher-tang opened this issue Jan 12, 2020 · 2 comments
Open

Failed to broadcast: No route to host #69

jicher-tang opened this issue Jan 12, 2020 · 2 comments

Comments

@jicher-tang
Copy link

_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?

@TimOliver
Copy link
Owner

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

@jicher-tang
Copy link
Author

Thank you very much for your reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants