https://github.com/mdlayher/socket
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. MIT Licensed.
https://github.com/mdlayher/socket
Last synced: 14 days ago
JSON representation
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. MIT Licensed.
- Host: GitHub
- URL: https://github.com/mdlayher/socket
- Owner: mdlayher
- License: mit
- Created: 2021-03-06T17:31:38.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-15T15:39:23.000Z (about 1 year ago)
- Last Synced: 2024-10-14T17:53:11.434Z (6 months ago)
- Language: Go
- Size: 111 KB
- Stars: 81
- Watchers: 4
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# socket [](https://github.com/mdlayher/socket/actions) [](https://pkg.go.dev/github.com/mdlayher/socket) [](https://goreportcard.com/report/github.com/mdlayher/socket)
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. MIT Licensed.This package focuses on UNIX-like operating systems which make use of BSD
sockets system call APIs. It is meant to be used as a foundation for the
creation of operating system-specific socket packages, for socket families such
as Linux's `AF_NETLINK`, `AF_PACKET`, or `AF_VSOCK`. This package should not be
used directly in end user applications.Any use of package socket should be guarded by build tags, as one would also
use when importing the `syscall` or `golang.org/x/sys` packages.## Stability
See the [CHANGELOG](./CHANGELOG.md) file for a description of changes between
releases.This package only supports the two most recent major versions of Go, mirroring
Go's own release policy. Older versions of Go may lack critical features and bug
fixes which are necessary for this package to function correctly.