尊敬的TI:
我在测试TCP socket,3200为client。
本地电脑做server时,指定了固定IP和端口号,连接成功;修改为指定的远程服务器IP和端口号(用别的板子连接可以,并收发数据正常,也就是说IP和端口号是正确可用的),程序死在了sl_Socket(SL_AF_INET,SL_SOCK_STREAM, 0);处,没有运行到下一行。
难道建立socket,本地和远程还有区别吗?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
尊敬的TI:
我在测试TCP socket,3200为client。
本地电脑做server时,指定了固定IP和端口号,连接成功;修改为指定的远程服务器IP和端口号(用别的板子连接可以,并收发数据正常,也就是说IP和端口号是正确可用的),程序死在了sl_Socket(SL_AF_INET,SL_SOCK_STREAM, 0);处,没有运行到下一行。
难道建立socket,本地和远程还有区别吗?