You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
295 B
C
13 lines
295 B
C
4 years ago
|
#ifndef __MINGW32__
|
||
|
#define _GNU_SOURCE
|
||
|
#include <sys/types.h>
|
||
|
#include <sys/socket.h>
|
||
|
#endif
|
||
|
#include <string.h>
|
||
|
#include "windoze.h"
|
||
|
#include "socket.h"
|
||
|
|
||
|
int socket_accept4_makenonblocking(int s,char *ip,uint16 *port) {
|
||
|
return socket_accept4_flags(s,ip,port,SOCK_NONBLOCK | SOCK_CLOEXEC);
|
||
|
}
|