udp_server.h
e60a9728
 /*
  * $Id$
  */
 
 #ifndef udp_server_h
 #define udp_server_h
 
a46cdb8c
 #include <sys/types.h>
 #include <sys/socket.h>
4e2fdd79
 #include "ip_addr.h"
e60a9728
 
d24a2059
 #define MAX_RECV_BUFFER_SIZE	256*1024
 #define BUFFER_INCREMENT	2048
 
e60a9728
 
36ef0329
 int udp_init(struct socket_info* si);
 int udp_send(struct socket_info* source,char *buf, unsigned len,
 				union sockaddr_union*  to, unsigned tolen);
e60a9728
 int udp_rcv_loop();
 
 
 #endif