Files
mars-libowfat/socket/socket_sctp4.c
2025-01-20 18:07:12 +00:00

11 lines
218 B
C

#include <unistd.h>
#include <libowfat/socket.h>
#include <libowfat/ndelay.h>
int socket_sctp4(void) {
int s=socket_sctp4b();
if (s==-1) return -1;
if (ndelay_on(s) == -1) { close(s); return -1; }
return s;
}