Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CC3220S-LAUNCHXL: I'm using the network terminal project. Why i use command send -s -nb, the client ip will not return to me? When I use send -s, the client ip can return to me.

$
0
0

Part Number:CC3220S-LAUNCHXL

below is my log. When i use option -nb(Set socket as non-blocking socket), The client ip is 0.0.0.0?  

================================================================================
Available commands:

help scan setpolicy wlanconnect
wlan_ap_start wlandisconnect ping send
recv createfilter enablefilter disablefilter
deletefilter enablewowlan mdnsadvertise mdnsquery
radiotool p2pstart p2pstop clear

================================================================================

user@CC3220:send -s
Protocol: tcp
Traffic: Tx
Client\Server: Server
Port: 5001
Number of Packets to send: 1000

Connected to client: 100.15.168.192
Sent 1000 packets successfully

user@CC3220:send -s
Protocol: tcp
Traffic: Tx
Client\Server: Server
Port: 5001
Number of Packets to send: 1000

Connected to client: 100.15.168.192
Sent 1000 packets successfully

user@CC3220:send -s -nb
Protocol: tcp
Traffic: Tx
Client\Server: Server
Port: 5001
Number of Packets to send: 1000

Connected to client: 0.0.0.0
Sent 1000 packets successfully

user@CC3220:


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>