OSDN Git Service

Modified: doc
[eos/optional.git] / doc / Objects / Socket.html
1 <HR>
2 <A NAME="Information">
3 <H2>Information from source codes</H2>
4 </A>
5 <PRE>
6 </PRE>
7 <HR>
8 <A NAME="include">
9 <H2>Socket.h</H2>
10 </A>
11 <PRE>
12 /*
13         Socket.h
14 */
15 #include <stdio.h>
16 #include <stdlib.h>
17 #include <unistd.h>
18 #include <string.h>
19 #include <sys/types.h>
20 #include <sys/socket.h>
21 #include <netinet/in.h>
22 #include <netdb.h>
23
24 /* prototype begin */
25 extern int  socketServerCreate(char* hostname, u_short port);
26 extern int  socketMultiServerCreate(char* hostname, u_short port, int max);
27 extern int  socketClientCreate(char* hostname, u_short port);
28 /* prototype end */
29 </PRE>