MCPcopy Create free account
hub / github.com/PerroEngine/Perro / tcp_send_frame

Method tcp_send_frame

perro_source/api_modules/perro_networking/src/world.rs:120–122  ·  view source on GitHub ↗
(&mut self, id: TcpConnectionId, bytes: &[u8])

Source from the content-addressed store, hash-verified

118 }
119
120 pub fn tcp_send_frame(&mut self, id: TcpConnectionId, bytes: &[u8]) -> NetResult<()> {
121 self.tcp_connection_mut(id)?.write_frame(bytes)
122 }
123
124 pub fn tcp_send_handshake(
125 &mut self,

Callers

nothing calls this directly

Calls 2

write_frameMethod · 0.80
tcp_connection_mutMethod · 0.80

Tested by

no test coverage detected