/*
---------------------------------------------------------------------------
 $Id: net_tcp.h,v 1.6 2007/05/02 13:32:22 cnepveu Exp $
---------------------------------------------------------------------------
  Copyright (c) 2007 Hexago Inc. All rights reserved.

  LICENSE NOTICE: You may use and modify this source code only if you
  have executed a valid license agreement with Hexago Inc. granting
  you the right to do so, the said license agreement governing such
  use and modifications.   Copyright or other intellectual property
  notices are not to be removed from the source code.
---------------------------------------------------------------------------
*/

#ifndef _NET_TCP_H_
#define _NET_TCP_H_

extern SOCKET      NetTCPConnect   (char *, int);
extern int      NetTCPClose     (SOCKET);

extern int      NetTCPReadWrite (SOCKET, unsigned char *, size_t, unsigned char *, size_t);

extern int      NetTCPWrite             (SOCKET, unsigned char *, size_t);
extern int      NetTCPPrintf            (SOCKET, char *, size_t, char *, ...);

extern int      NetTCPRead              (SOCKET, unsigned char *, size_t);

#endif


syntax highlighted by Code2HTML, v. 0.9.1