s6-networking
Software
skarnet.org
The s6net library interface
General information
libs6net is a collection of networking-related utility
C interfaces, used in the s6-networking executables.
Compiling
- Make sure the s6-networking headers, as well as the skalibs headers,
are visible in your header search path.
- Use #include <s6-networking/s6net.h>
Linking
- Make sure the s6-networking libraries, as well as the skalibs
libraries, are visible in your library search path.
- Link against -ls6net, -lskarnet,
`cat $sysdeps/socket.lib` and
`cat $sysdeps/sysclock.lib`, $sysdeps being your skalibs
sysdeps directory.
Programming
The s6-networking/s6net.h header is actually a
concatenation of other headers:
the libs6net is separated into several modules, each of them with its
own header.