mirror of
https://github.com/soypat/lneto.git
synced 2026-08-09 01:13:41 +00:00
add TCPConn Read+Write and ancilliary methods; looks like IP mux is broken
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user