home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / fax-3.2.1 / lib / libutil / tcp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-07-31  |  1.0 KB  |  50 lines

  1. /*
  2.   This file is part of the NetFax system.
  3.  
  4.   (c) Copyright 1989 by David M. Siegel and Sundar Narasimhan.
  5.       All rights reserved.
  6.  
  7.     This program is free software; you can redistribute it and/or modify
  8.     it under the terms of the GNU General Public License as published by
  9.     the Free Software Foundation.
  10.  
  11.     This program is distributed in the hope that it will be useful, 
  12.     but WITHOUT ANY WARRANTY; without even the implied warranty of 
  13.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.     GNU General Public License for more details.
  15.  
  16.     You should have received a copy of the GNU General Public License
  17.     along with this program; if not, write to the Free Software
  18.     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19. */
  20.  
  21. #ifndef INCtcph
  22. #define INCtcph 1
  23.  
  24. #include "net.h"
  25.  
  26. /*
  27.   Prototypes:
  28. */
  29.  
  30. int tcp_make_listener(
  31. #ifdef _PROTO
  32.     char *service
  33. #endif
  34. );
  35.  
  36. int tcp_accept_connection(
  37. #ifdef _PROTO
  38.     int s
  39. #endif
  40. );
  41.  
  42. int tcp_make_connection(
  43. #ifdef _PROTO
  44.     char *host,
  45.     char *service
  46. #endif
  47. );
  48.  
  49. #endif
  50.