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.

tcp_socket 的问题

Other Parts Discussed in Thread: CC3200

请TI的技术大大帮我解答下  本人新手~

上次问到 想要CC3200主动向服务器发数据得用到sl_send();

我在程序中定义了2个数组如下

char Buf1[8]={'a',' ','t','e','s','t'};
char Buf2[8]={'b',' ','t','e','s','t'};

然后在BsdTcpClient()函数中添加我要发送的内容如图

问题在于接收端  服务器端接受到的消息是

第一行是正常显示到预期接受到的数据 

第二行是我换成16进制接收  

为什么我只发送了2个字符数组   第二个显示的内容比第一个多的多   而且总的接受量是5840 很大