add TCPConn Read+Write and ancilliary methods; looks like IP mux is broken

This commit is contained in:
soypat
2025-05-25 18:30:55 -03:00
parent 682e533017
commit a967f083cb
5 changed files with 232 additions and 2 deletions
+1
View File
@@ -63,6 +63,7 @@ func (sb *StackBasic) Recv(frame []byte) error {
h := &sb.handlers[i]
proto := ifrm.Protocol()
if h.proto == proto {
sb.info("iprecv", slog.String("ipproto", proto.String()), slog.Int("plen", int(totalLen)))
return h.recv(frame[:totalLen], off)
}
}