home *** CD-ROM | disk | FTP | other *** search
/ Super Net 1 / SUPERNET_1.iso / PC / OTROS / EXTRAS / WINWAIS / IR / SOCKETS.H < prev    next >
Encoding:
C/C++ Source or Header  |  1994-03-14  |  544 b   |  21 lines

  1. #ifndef sockets_h
  2. #define sockets_h
  3.  
  4. #include "winsock.h"
  5. #include "cdialect.h"
  6. #include "cutil.h"
  7.  
  8. /*---------------------------------------------------------------------------*/
  9.  
  10. #define MAX_MESSAGE_LEN 60000L 
  11. #define CHARS_PER_PAGE 29000L
  12.  
  13. void open_server _AP((long port,SOCKET socket,long size));
  14. void accept_client_connection _AP((SOCKET socket,FILE** file));
  15. void close_client_connection _AP((SOCKET file));
  16. void close_server _AP((SOCKET socket));
  17.  
  18. SOCKET connect_to_server _AP((char* host_name,long port));
  19.  
  20. #endif
  21.