begin adding udp conn (#69)

* begin adding udp conn

* udp tests passing

* bugfixes for udp Send,Abort,Encapsulate methods

* document UDP methods
This commit is contained in:
Pat Whittingslow
2026-04-10 00:34:37 -03:00
committed by GitHub
parent 568ef2854f
commit 0382410f02
6 changed files with 731 additions and 6 deletions
+2
View File
@@ -6,6 +6,8 @@ import (
"github.com/soypat/lneto"
)
const sizeHeader = 8
// NewFrame returns a new udp.Frame with data set to buf.
// An error is returned if the buffer size is smaller than 8.
// Users should still call [Frame.ValidateSize] before working