00001 00002 00003 #ifndef UDP_OPTS_HH 00004 #define UDP_OPTS_HH 00005 00006 #include "rcs_defs.hh" // RCS_EXPORT 00007 00008 #ifdef __cplusplus 00009 extern "C" 00010 { 00011 #endif 00012 00013 /* Function shared by client and server to set desired options. */ 00014 int RCS_EXPORT set_udp_socket_options (int socket_fd); 00015 int RCS_EXPORT make_udp_socket_nonblocking (int socket_fd); 00016 int RCS_EXPORT make_udp_socket_blocking (int socket_fd); 00017 int RCS_EXPORT make_udp_socket_broadcast (int socket_fd); 00018 00019 00020 #ifdef __cplusplus 00021 } 00022 #endif 00023 00024 #endif /* UDP_OPTS_HH */