udp_server.h
e60a9728
 /*
  * $Id$
  */
 
 #ifndef udp_server_h
 #define udp_server_h
 
a46cdb8c
 #include <sys/types.h>
 #include <sys/socket.h>
e60a9728
 
d24a2059
 #define MAX_RECV_BUFFER_SIZE	256*1024
 #define BUFFER_INCREMENT	2048
 
e60a9728
 extern int udp_sock;
 
 int udp_init(unsigned long ip, unsigned short port);
3e429f5c
 int udp_send(char *buf, unsigned len, struct sockaddr*  to, unsigned tolen);
e60a9728
 int udp_rcv_loop();
 
 
 #endif