libowfat/socket/socket_tcp6.c
leitner 83c1186870 fix for NetBSD 3.0 (they broke their sys/types.h)
remove support for ip6.int reverse lookup in DNS routines (the domain is
no longer delegated)
2006-06-23 03:53:16 +00:00

10 lines
174 B
C

#include <unistd.h>
#include "socket.h"
#include "ndelay.h"
int socket_tcp6(void) {
int s=socket_tcp6b();
if (ndelay_on(s) == -1) { close(s); return -1; }
return s;
}