| 197 | } |
| 198 | |
| 199 | void CommunicatingSocket::send(const void *buffer, int bufferLen) |
| 200 | throw(SocketException) { |
| 201 | if (::send(sockDesc, (raw_type *) buffer, bufferLen, 0) < 0) { |
| 202 | throw SocketException("Send failed (send())", true); |
| 203 | } |
| 204 | } |
| 205 | |
| 206 | int CommunicatingSocket::recv(void *buffer, int bufferLen) |
| 207 | throw(SocketException) { |
nothing calls this directly
no test coverage detected