File: socket_tcp6.c

package info (click to toggle)
libowfat 0.27-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 3,412 kB
  • ctags: 1,147
  • sloc: ansic: 12,294; makefile: 42
file content (9 lines) | stat: -rw-r--r-- 174 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#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;
}