OSDN Git Service

Merge branch 'master' of git://git.sourceforge.jp/gitroot/eos/base
[eos/hostdependX86LINUX64.git] / include / Socket.h
1 /*
2         Socket.h
3 */
4 #include <stdio.h>
5 #include <stdlib.h>
6 #include <unistd.h>
7 #include <string.h>
8 #include <sys/types.h>
9 #include <sys/socket.h>
10 #include <netinet/in.h>
11 #include <netdb.h>
12
13 /* prototype begin */
14 extern int  socketServerCreate(char* hostname, u_short port);
15 extern int  socketMultiServerCreate(char* hostname, u_short port, int max);
16 extern int  socketClientCreate(char* hostname, u_short port);
17 /* prototype end */