(&mut self, id: TcpConnectionId, bytes: &[u8])
| 114 | } |
| 115 | |
| 116 | pub fn tcp_send(&mut self, id: TcpConnectionId, bytes: &[u8]) -> NetResult<usize> { |
| 117 | self.tcp_connection_mut(id)?.write(bytes) |
| 118 | } |
| 119 | |
| 120 | pub fn tcp_send_frame(&mut self, id: TcpConnectionId, bytes: &[u8]) -> NetResult<()> { |
| 121 | self.tcp_connection_mut(id)?.write_frame(bytes) |
nothing calls this directly
no test coverage detected