home *** CD-ROM | disk | FTP | other *** search
- #ifndef sockets_h
- #define sockets_h
-
- #include "winsock.h"
- #include "cdialect.h"
- #include "cutil.h"
-
- /*---------------------------------------------------------------------------*/
-
- #define MAX_MESSAGE_LEN 60000L
- #define CHARS_PER_PAGE 29000L
-
- void open_server _AP((long port,SOCKET socket,long size));
- void accept_client_connection _AP((SOCKET socket,FILE** file));
- void close_client_connection _AP((SOCKET file));
- void close_server _AP((SOCKET socket));
-
- SOCKET connect_to_server _AP((char* host_name,long port));
-
- #endif
-