在用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.
在用TCP套接字实现连接后,我创建了发送和接收任务,怎样才能在发送和接收子线程中使用已经连接好的套接字,应该怎样设置套接字?谢谢