| 283 | |
| 284 | |
| 285 | void shutdown(Exception& ex,Socket::ShutdownType type) { |
| 286 | ASSERT(_initialized) |
| 287 | if (::shutdown(_sockfd, type) != 0) |
| 288 | Net::SetException(ex, Net::LastError()," (type=",type,")"); |
| 289 | } |
| 290 | |
| 291 | |
| 292 | int sendBytes(Exception& ex, const void* buffer, int length, int flags) { |
nothing calls this directly
no outgoing calls
no test coverage detected