Connection Teardown
| 215 | |
| 216 | // Connection Teardown |
| 217 | int shutdown(int sockfd, int how) FL_NOEXCEPT { |
| 218 | SOCKET sock = static_cast<SOCKET>(sockfd); |
| 219 | int result = ::shutdown(sock, how); |
| 220 | return (result == SOCKET_ERROR) ? -1 : 0; |
| 221 | } |
| 222 | |
| 223 | int close(int fd) FL_NOEXCEPT { |
| 224 | SOCKET sock = static_cast<SOCKET>(fd); |