| 1 |
// Package socket provides a low-level network connection type which integrates |
| 2 |
// with Go's runtime network poller to provide asynchronous I/O and deadline |
| 3 |
// support. |
| 4 |
// |
| 5 |
// This package focuses on UNIX-like operating systems which make use of BSD |
| 6 |
// sockets system call APIs. It is meant to be used as a foundation for the |
| 7 |
// creation of operating system-specific socket packages, for socket families |
| 8 |
// such as Linux's AF_NETLINK, AF_PACKET, or AF_VSOCK. This package should not |
| 9 |
// be used directly in end user applications. |
| 10 |
// |
| 11 |
// Any use of package socket should be guarded by build tags, as one would also |
| 12 |
// use when importing the syscall or golang.org/x/sys packages. |
| 13 |
package socket |