aboutsummaryrefslogtreecommitdiff
path: root/socket_listen.c
diff options
context:
space:
mode:
Diffstat (limited to 'socket_listen.c')
-rw-r--r--socket_listen.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/socket_listen.c b/socket_listen.c
new file mode 100644
index 0000000..abdb483
--- /dev/null
+++ b/socket_listen.c
@@ -0,0 +1,10 @@
+#include <sys/types.h>
+#include <sys/param.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include "socket.h"
+
+int socket_listen(int s,int backlog)
+{
+ return listen(s,backlog);
+}