Rapsssito / react-native-tcp-socket

React Native TCP socket API for Android, iOS & macOS with SSL/TLS support.
MIT License
303 stars 81 forks source link

是不支持局域网socket连接吗? #152

Closed yeship closed 2 years ago

yeship commented 2 years ago

本机ip地址:192.168.2.62 socket服务ip地址:192.168.2.31

会报Cannot assign requested address的错误。

Rapsssito commented 2 years ago

@yeship, I am sorry but I don't understand your language. Could you please ask it in English?

yeship commented 2 years ago

@Rapsssito I get an error; my client ip address is : 192.168.2.62 but server ip address is : 192.168.2.31 i will get the error: Cannot assign requested address Does not support LAN connection?

Rapsssito commented 2 years ago

It does, but make sure you are trying to set the address for the WiFi interface rather than the cellular interface.

github-actions[bot] commented 2 years ago

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community attention? This issue may be closed if no further activity occurs.