Two-way communication in socket programming using C

后端 未结 5 1917
失恋的感觉
失恋的感觉 2020-12-17 17:32

I have a small doubt in socket programming. i am able to send my data from client to server and my server processes the data. The o/p of the data processed, I want to send b

5条回答
  •  青春惊慌失措
    2020-12-17 17:41

    Your socket is bi-directional, so there is no need to create another socket. Unless you are using some sort of middleware, such as Pub/Sub, there is no need to create another socket to enable bi-directional communication.

提交回复
热议问题