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
|
|
|
|
2006-06-23 03:53:16 +00:00
|
|
|
int socket_tcp6(void) {
|
|
|
|
int s=socket_tcp6b();
|
2006-05-18 06:02:43 +00:00
|
|
|
if (ndelay_on(s) == -1) { close(s); return -1; }
|
2001-11-24 19:34:32 +00:00
|
|
|
return s;
|
2001-02-02 17:54:47 +00:00
|
|
|
}
|