Sending a value from server to client with sockets

前端 未结 4 2113
情深已故
情深已故 2020-11-30 03:32

I am using the following projects in order to create an asynchronous communication between server and client sockets. When I am running those projects I am sending a message

4条回答
  •  佛祖请我去吃肉
    2020-11-30 04:09

    You can send data to a client, and it can be achieved similarly to how you do so client -> server (unless your sockets are receive only, if so switch them to send and receive). Sending a Boolean requires conversion to a byte, you can achieve this via the BitConverter class.

提交回复
热议问题