| 49 | } |
| 50 | |
| 51 | void TUdpSocket::Open(int port) { |
| 52 | TIntrusivePtr<ISocket> s = CreateSocket(); |
| 53 | s->Open(port); |
| 54 | Open(s); |
| 55 | } |
| 56 | |
| 57 | // caller code assumes that packet fragmentation is forbidden! |
| 58 | void TUdpSocket::Open(const TIntrusivePtr<ISocket>& socket) { |
nothing calls this directly
no test coverage detected