Socket single client/server connection, server can send multiple times, client can only once
- 阅读更多 关于 Socket single client/server connection, server can send multiple times, client can only once
问题 I have written a client and server application that I need to use to connect a checkers game I made in C#. I have got the client and server to connect and the server can repeatedly send the client messages to update a label but when the client tries to send a message it throws the error "A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied." Here is my client and server so far.