Registry / networking / mdlayher-socket

mdlayher-socket

JSON →
library0.6.0gogounverified

Package socket provides a low-level network connection type which integrates with Go's runtime network poller to provide asynchronous I/O and deadline support.

go get github.com/mdlayher/socket
INSTALL
IMPORT
SIG · MDLAYHER-SOCKET
M
mdlayher-socket
networkinggov0.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

socket
github.com/mdlayher/socket

Create a new netlink socket connection.

import "github.com/mdlayher/socket" func main() { conn, _ := socket.New(socket.AF_NETLINK, socket.SOCK_RAW, 0) defer conn.Close() }
Debug
Known issues
gotchaThis package is intended for building OS-specific socket packages, not for direct use in end-user applications.
fix
Use higher-level packages like github.com/mdlayher/netlink instead.
affects: >=0.6.0
Upgrade
Version history
0.6.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
mdlayher-socket — go get mdlayher-socket · libregistry