libowfat/socket/socket_listen.c

11 lines
210 B
C
Raw Normal View History

2001-10-15 14:34:02 +00:00
#include <sys/types.h>
#ifndef __MINGW32__
2001-02-05 18:08:57 +00:00
#include <sys/socket.h>
#endif
#include "socket.h"
#include "windoze.h"
2001-02-05 18:08:57 +00:00
int socket_listen(int s,unsigned int backlog) {
return winsock2errno(listen(s, backlog));
2001-02-05 18:08:57 +00:00
}