#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;
}