Mercurial > hg > toybox
view toynet.h @ 1034:54c9d4a0d46e draft
tail: Some fixes
- Rewrite most of the not lseek() logic
- Change meaning of len in line_list
- Use single instead of double linked list
author | Felix Janda <felix.janda@posteo.de> |
---|---|
date | Sat, 31 Aug 2013 12:30:41 +0200 |
parents | aca8323e2690 |
children |
line wrap: on
line source
// Included after toys.h, for network stuff. Some build environments // don't include network support, so we shouldn't include it unless we're // going to build it. #include <arpa/inet.h> #include <netdb.h> #include <net/if.h> #include <netinet/in.h> #include <netinet/tcp.h> #include <poll.h> #include <sys/socket.h> #include <sys/un.h>