| 67 | } |
| 68 | |
| 69 | void IPSocket::Close(){ |
| 70 | if(port){ |
| 71 | Network::ReleasePort(port); |
| 72 | } |
| 73 | |
| 74 | Socket::Close(); |
| 75 | } |
| 76 | |
| 77 | UDPSocket::UDPSocket(int type, int protocol) : IPSocket(type, protocol){ |
| 78 | assert(type == DatagramSocket); |
nothing calls this directly
no test coverage detected