Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Index ¶ func Read(sc syscall.RawConn, msgs []*Message) (int, error) type Message Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Read ¶ func Read(sc syscall.RawConn, msgs []*Message) (int, error) Read reads from the RawConn multiple messages in a single syscall. Types ¶ type Message ¶ type Message struct { // Scratch is to reduce allocations for consumers of Message. Scratch [256]byte // Data contained in the Message to handle. Data []byte // contains filtered or unexported fields } Message is what we read from/to. Source Files ¶ View all Source files message.go read_batch_linux_amd64.go Click to show internal directories. Click to hide internal directories.