Debian Codegraph @

README.md

raw
1 # socket [![Test Status](https://github.com/mdlayher/socket/workflows/Test/badge.svg)](https://github.com/mdlayher/socket/actions) [![Go Reference](https://pkg.go.dev/badge/github.com/mdlayher/socket.svg)](https://pkg.go.dev/github.com/mdlayher/socket)
2
3 Package `socket` provides a low-level network connection type which integrates
4 with Go's runtime network poller to provide asynchronous I/O and deadline
5 support. MIT Licensed.
6
7 This package focuses on UNIX-like operating systems which make use of BSD
8 sockets system call APIs. It is meant to be used as a foundation for the
9 creation of operating system-specific socket packages, for socket families such
10 as Linux's `AF_NETLINK`, `AF_PACKET`, or `AF_VSOCK`. This package should not be
11 used directly in end user applications.
12
13 Any use of package socket should be guarded by build tags, as one would also
14 use when importing the `syscall` or `golang.org/x/sys` packages.
15
16 ## Stability
17
18 See the [CHANGELOG](./CHANGELOG.md) file for a description of changes between
19 releases.
20
21 This package only supports the two most recent major versions of Go, mirroring
22 Go's own release policy. Older versions of Go may lack critical features and bug
23 fixes which are necessary for this package to function correctly.