/*
---------------------------------------------------------------------------
 $Id: net_udp.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_UDP_H_
#define _NET_UDP_H_

extern SOCKET NetUDPConnect (char *, int);
extern int  NetUDPClose (SOCKET);

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

extern int  NetUDPWrite   (SOCKET, unsigned char *, size_t);
extern int  NetUDPPrintf    (SOCKET, char *, size_t, char *, ...);

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

#endif


syntax highlighted by Code2HTML, v. 0.9.1