begin testing tcp listener (not working)

This commit is contained in:
soypat
2025-06-09 20:38:40 -03:00
parent 76be78812f
commit 6b511999d1
16 changed files with 136 additions and 48 deletions
+1 -1
View File
@@ -150,7 +150,7 @@ func (c *Handler) Recv(b []byte) error {
var vld lneto.Validator
afrm.ValidateSize(&vld)
if vld.HasError() {
return vld.Err()
return vld.ErrPop()
}
htype, hlen := afrm.Hardware()
if htype != c.htype || int(hlen) != len(c.ourHWAddr) {