CocoaAsyncSocket icon indicating copy to clipboard operation
CocoaAsyncSocket copied to clipboard

No route to host

Open zjz2020 opened this issue 9 years ago • 11 comments

iOS, I use UDP send radio ,Run on the simulator is OK ,but at my testing photo is error,"No route to host",how to solve thise problem...

zjz2020 avatar Apr 11 '17 03:04 zjz2020

I have the same as yours

MyOnlyOnlySunshine avatar Apr 18 '17 07:04 MyOnlyOnlySunshine

@zjz2020 please post your code where you setup the sockets and send / receive

MauriceArikoglu avatar Apr 19 '17 18:04 MauriceArikoglu

I have solved the problem, it's because the setting of our ESP 8266 WIFI module. Thanks

MyOnlyOnlySunshine avatar Apr 20 '17 01:04 MyOnlyOnlySunshine

@myOnlyOnlySunshine could you post your connection/broadcast code please? I have a similar problem. And for people having similar issues, it would be helpful to have a working code snippet here.

MauriceArikoglu avatar Apr 20 '17 05:04 MauriceArikoglu

You mean screenshots of my code or just upload the demo ?

MyOnlyOnlySunshine avatar Apr 20 '17 05:04 MyOnlyOnlySunshine

Upload the demo please :)

MauriceArikoglu avatar Apr 20 '17 05:04 MauriceArikoglu

I am just coding like you demo... The "No route to host" or "connection refused " or "time out " problem i've met is just because the hardware of wifi module. Not the code.

MyOnlyOnlySunshine avatar Apr 20 '17 05:04 MyOnlyOnlySunshine

like the demo of original coder support

MyOnlyOnlySunshine avatar Apr 20 '17 05:04 MyOnlyOnlySunshine

yes, this problem is cause of wifi ,not because of our code

zjz2020 avatar Apr 20 '17 06:04 zjz2020

hah

MyOnlyOnlySunshine avatar Apr 20 '17 06:04 MyOnlyOnlySunshine

This issue has been marked as stale, it will be closed automatically if there is no further activity.

github-actions[bot] avatar Feb 26 '20 00:02 github-actions[bot]