| 60 | } |
| 61 | |
| 62 | int SocketClientTCP::send (const char *data, int size) |
| 63 | { |
| 64 | int len = sizeof (socket_addr); |
| 65 | int res = ::send (connect_socket, data, size, 0); |
| 66 | if (res == SOCKET_ERROR) |
| 67 | { |
| 68 | return -1; |
| 69 | } |
| 70 | return res; |
| 71 | } |
| 72 | |
| 73 | int SocketClientTCP::recv (void *data, int size) |
| 74 | { |
nothing calls this directly
no outgoing calls
no test coverage detected