mirror of
https://github.com/soypat/lneto.git
synced 2026-09-10 08:39:30 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user