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.

CC3200和Android应用程序TCP Socket通讯

Other Parts Discussed in Thread: CC3200

我是让Android作为客户端,CC3200作为服务端,用的是tcp_socket例程。

Android客户端首先给CC3200发送数据建立socket连接,在BsdTcpServer(unsigned short usPort)中可以接收到数据,iStatus = sl_Recv(iNewSockID, g_cBsdBuf, iTestBufLen, 0);接收到数据该怎么立即给手机端发送数据呀?

在sl_Recv后我直接用iStatus = sl_Send(iSockID, g_cBsdBuf, iTestBufLen, 0 );发送数据手机端接收不到数据。。。