libowfat/socket/socket_tcp6.c

10 lines
174 B
C
Raw Normal View History

2006-05-18 06:13:25 +00:00
#include <unistd.h>
2001-02-02 17:54:47 +00:00
#include "socket.h"
2006-05-18 06:13:25 +00:00
#include "ndelay.h"
2001-02-02 17:54:47 +00:00
int socket_tcp6(void) {
int s=socket_tcp6b();
if (ndelay_on(s) == -1) { close(s); return -1; }
return s;
2001-02-02 17:54:47 +00:00
}