TCP接受器,具备会话访问
| 16 | |
| 17 | // TCP接受器,具备会话访问 |
| 18 | type TCPAcceptor interface { |
| 19 | GenericPeer |
| 20 | |
| 21 | // 访问会话 |
| 22 | SessionAccessor |
| 23 | |
| 24 | TCPSocketOption |
| 25 | |
| 26 | // 查看当前侦听端口,使用host:0 作为Address时,socket底层自动分配侦听端口 |
| 27 | Port() int |
| 28 | } |
| 29 | |
| 30 | // TCP连接器 |
| 31 | type TCPConnector interface { |
nothing calls this directly
no outgoing calls
no test coverage detected