summaryrefslogtreecommitdiff
path: root/include/network.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/network.h')
-rwxr-xr-xinclude/network.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/network.h b/include/network.h
new file mode 100755
index 0000000..dde6d25
--- /dev/null
+++ b/include/network.h
@@ -0,0 +1,10 @@
+
+#ifndef NETWORK_H
+
+#define NETWORK_H
+
+extern int newSocket(int port,const char *ip);
+extern int getNewClient(int sockfd);
+extern int getNewClientIP(int sockfd,char **str_ip);
+
+#endif