大家好:
3200如何同时使用Tcp的client和server?
根据例程,server中有 sl_Recv();会一直占用sub wifi导致client不能正常发数据。有时候都不能正常启动。
Udp中有个select(); 会监视UDP端口。此函数中的参数在Tcp中无法使用,还有recvfrom也是同样的情况(当中有个长度参数,Tcp中无法定义指针)
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.
大家好:
3200如何同时使用Tcp的client和server?
根据例程,server中有 sl_Recv();会一直占用sub wifi导致client不能正常发数据。有时候都不能正常启动。
Udp中有个select(); 会监视UDP端口。此函数中的参数在Tcp中无法使用,还有recvfrom也是同样的情况(当中有个长度参数,Tcp中无法定义指针)