Other Parts Discussed in Thread: SYSBIOS
Hi Team,
I set 6678 as Server and PC as Client respectively, and the connection between PC and 6678 is good.

Now, I use one thread to receive data, and it success. I could receive the hello string and the data I sent on PC



The other one thread is used for sending data, it failed. The message_upload is created on above function server_tcp() by API: mytask1 = Task_create((ti_sysbios_knl_Task_FuncPtr)message_upload, &mytaskparams1, NULL);
But I couldn't receive the "upload:hello" from message_upload function, the return data of send() is -1, while the error is EBADF 9 // Bad file descriptor
Could you offer me some solutions?
Regards
Zahir Wang





