.TH "globus_xio_udp_driver_cntls" 3 "Tue Jul 5 2022" "Version 6.6" "globus_xio" \" -*- nroff -*- .ad l .nh .SH NAME globus_xio_udp_driver_cntls \- Attributes and Cntls .PP \- Attributes and Cntls\&. .SH SYNOPSIS .br .PP .SS "Enumerations" .in +1c .ti -1c .RI "enum \fBglobus_xio_udp_cmd_t\fP { \fBGLOBUS_XIO_UDP_SET_HANDLE\fP, \fBGLOBUS_XIO_UDP_SET_SERVICE\fP, \fBGLOBUS_XIO_UDP_GET_SERVICE\fP, \fBGLOBUS_XIO_UDP_SET_PORT\fP, \fBGLOBUS_XIO_UDP_GET_PORT\fP, \fBGLOBUS_XIO_UDP_SET_LISTEN_RANGE\fP, \fBGLOBUS_XIO_UDP_GET_LISTEN_RANGE\fP, \fBGLOBUS_XIO_UDP_SET_INTERFACE\fP, \fBGLOBUS_XIO_UDP_GET_INTERFACE\fP, \fBGLOBUS_XIO_UDP_SET_RESTRICT_PORT\fP, \fBGLOBUS_XIO_UDP_GET_RESTRICT_PORT\fP, \fBGLOBUS_XIO_UDP_SET_REUSEADDR\fP, \fBGLOBUS_XIO_UDP_GET_REUSEADDR\fP, \fBGLOBUS_XIO_UDP_SET_NO_IPV6\fP, \fBGLOBUS_XIO_UDP_GET_NO_IPV6\fP, \fBGLOBUS_XIO_UDP_GET_HANDLE\fP, \fBGLOBUS_XIO_UDP_SET_SNDBUF\fP, \fBGLOBUS_XIO_UDP_GET_SNDBUF\fP, \fBGLOBUS_XIO_UDP_SET_RCVBUF\fP, \fBGLOBUS_XIO_UDP_GET_RCVBUF\fP, \fBGLOBUS_XIO_UDP_GET_CONTACT\fP, \fBGLOBUS_XIO_UDP_GET_NUMERIC_CONTACT\fP, \fBGLOBUS_XIO_UDP_SET_CONTACT\fP, \fBGLOBUS_XIO_UDP_CONNECT\fP, \fBGLOBUS_XIO_UDP_SET_MULTICAST\fP }" .br .in -1c .SS "Functions" .in +1c .ti -1c .RI "globus_result_t \fBglobus_xio_attr_cntl\fP (attr, driver, \fBGLOBUS_XIO_UDP_SET_HANDLE\fP, globus_xio_system_socket_t handle)" .br .ti -1c .RI "globus_result_t \fBglobus_xio_attr_cntl\fP (attr, driver, \fBGLOBUS_XIO_UDP_SET_SERVICE\fP, const char *service_name)" .br .ti -1c .RI "globus_result_t \fBglobus_xio_attr_cntl\fP (attr, driver, \fBGLOBUS_XIO_UDP_GET_SERVICE\fP, char **service_name_out)" .br .ti -1c .RI "globus_result_t \fBglobus_xio_attr_cntl\fP (attr, driver, \fBGLOBUS_XIO_UDP_SET_PORT\fP, int listener_port)" .br .ti -1c .RI "globus_result_t \fBglobus_xio_attr_cntl\fP (attr, driver, \fBGLOBUS_XIO_UDP_GET_PORT\fP, int *listener_port_out)" .br .ti -1c .RI "globus_result_t \fBglobus_xio_attr_cntl\fP (attr, driver, \fBGLOBUS_XIO_UDP_SET_LISTEN_RANGE\fP, int listener_min_port, int listener_max_port)" .br .ti -1c .RI "globus_result_t \fBglobus_xio_attr_cntl\fP (attr, driver, \fBGLOBUS_XIO_UDP_GET_LISTEN_RANGE\fP, int *listener_min_port_out, int *listener_max_port_out)" .br .ti -1c .RI "globus_result_t \fBglobus_xio_attr_cntl\fP (attr, driver, \fBGLOBUS_XIO_UDP_SET_INTERFACE\fP, const char *interface)" .br .ti -1c .RI "globus_result_t \fBglobus_xio_attr_cntl\fP (attr, driver, \fBGLOBUS_XIO_UDP_GET_INTERFACE\fP, char **interface_out)" .br .ti -1c .RI "globus_result_t \fBglobus_xio_attr_cntl\fP (attr, driver, \fBGLOBUS_XIO_UDP_SET_RESTRICT_PORT\fP, globus_bool_t restrict_port)" .br .ti -1c .RI "globus_result_t \fBglobus_xio_attr_cntl\fP (attr, driver, \fBGLOBUS_XIO_UDP_GET_RESTRICT_PORT\fP, globus_bool_t *restrict_port_out)" .br .ti -1c .RI "globus_result_t \fBglobus_xio_attr_cntl\fP (attr, driver, \fBGLOBUS_XIO_UDP_SET_REUSEADDR\fP, globus_bool_t resuseaddr)" .br .ti -1c .RI "globus_result_t \fBglobus_xio_attr_cntl\fP (attr, driver, \fBGLOBUS_XIO_UDP_GET_REUSEADDR\fP, globus_bool_t *resuseaddr_out)" .br .ti -1c .RI "globus_result_t \fBglobus_xio_attr_cntl\fP (attr, driver, \fBGLOBUS_XIO_UDP_SET_NO_IPV6\fP, globus_bool_t no_ipv6)" .br .ti -1c .RI "globus_result_t \fBglobus_xio_attr_cntl\fP (attr, driver, \fBGLOBUS_XIO_UDP_GET_NO_IPV6\fP, globus_bool_t *no_ipv6_out)" .br .ti -1c .RI "globus_result_t \fBglobus_xio_attr_cntl\fP (attr, driver, \fBGLOBUS_XIO_UDP_GET_HANDLE\fP, globus_xio_system_socket_t *handle_out)" .br .ti -1c .RI "globus_result_t \fBglobus_xio_handle_cntl\fP (handle, driver, \fBGLOBUS_XIO_UDP_GET_HANDLE\fP, globus_xio_system_socket_t *handle_out)" .br .ti -1c .RI "globus_result_t \fBglobus_xio_attr_cntl\fP (attr, driver, \fBGLOBUS_XIO_UDP_SET_SNDBUF\fP, int sndbuf)" .br .ti -1c .RI "globus_result_t \fBglobus_xio_handle_cntl\fP (handle, driver, \fBGLOBUS_XIO_UDP_SET_SNDBUF\fP, int sndbuf)" .br .ti -1c .RI "globus_result_t \fBglobus_xio_attr_cntl\fP (attr, driver, \fBGLOBUS_XIO_UDP_GET_SNDBUF\fP, int *sndbuf_out)" .br .ti -1c .RI "globus_result_t \fBglobus_xio_handle_cntl\fP (handle, driver, \fBGLOBUS_XIO_UDP_GET_SNDBUF\fP, int *sndbuf_out)" .br .ti -1c .RI "globus_result_t \fBglobus_xio_attr_cntl\fP (attr, driver, \fBGLOBUS_XIO_UDP_SET_RCVBUF\fP, int rcvbuf)" .br .ti -1c .RI "globus_result_t \fBglobus_xio_handle_cntl\fP (handle, driver, \fBGLOBUS_XIO_UDP_SET_RCVBUF\fP, int rcvbuf)" .br .ti -1c .RI "globus_result_t \fBglobus_xio_attr_cntl\fP (attr, driver, \fBGLOBUS_XIO_UDP_GET_RCVBUF\fP, int *rcvbuf_out)" .br .ti -1c .RI "globus_result_t \fBglobus_xio_handle_cntl\fP (handle, driver, \fBGLOBUS_XIO_UDP_GET_RCVBUF\fP, int *rcvbuf_out)" .br .ti -1c .RI "globus_result_t \fBglobus_xio_handle_cntl\fP (handle, driver, \fBGLOBUS_XIO_UDP_GET_CONTACT\fP, char **contact_string_out)" .br .ti -1c .RI "globus_result_t \fBglobus_xio_data_descriptor_cntl\fP (dd, driver, \fBGLOBUS_XIO_UDP_GET_CONTACT\fP, char **contact_string_out)" .br .ti -1c .RI "globus_result_t \fBglobus_xio_handle_cntl\fP (handle, driver, \fBGLOBUS_XIO_UDP_GET_NUMERIC_CONTACT\fP, char **contact_string_out)" .br .ti -1c .RI "globus_result_t \fBglobus_xio_data_descriptor_cntl\fP (dd, driver, \fBGLOBUS_XIO_UDP_GET_NUMERIC_CONTACT\fP, char **contact_string_out)" .br .ti -1c .RI "globus_result_t \fBglobus_xio_data_descriptor_cntl\fP (dd, driver, \fBGLOBUS_XIO_UDP_SET_CONTACT\fP, char *contact_string)" .br .ti -1c .RI "globus_result_t \fBglobus_xio_handle_cntl\fP (handle, driver, \fBGLOBUS_XIO_UDP_CONNECT\fP, char *contact_string)" .br .ti -1c .RI "globus_result_t \fBglobus_xio_attr_cntl\fP (attr, driver, \fBGLOBUS_XIO_UDP_SET_MULTICAST\fP, char *contact_string)" .br .in -1c .SH "Detailed Description" .PP Attributes and Cntls\&. UDP driver specific attrs and cntls\&. .PP \fBSee also\fP .RS 4 \fBglobus_xio_attr_cntl()\fP .PP \fBglobus_xio_handle_cntl()\fP .PP \fBglobus_xio_data_descriptor_cntl()\fP .RE .PP .SH "Enumeration Type Documentation" .PP .SS "enum \fBglobus_xio_udp_cmd_t\fP" doxygen varargs filter stuff UDP driver specific cntls .PP \fBEnumerator\fP .in +1c .TP \fB\fIGLOBUS_XIO_UDP_SET_HANDLE \fP\fP See usage for: \fBglobus_xio_attr_cntl \fP .TP \fB\fIGLOBUS_XIO_UDP_SET_SERVICE \fP\fP See usage for: \fBglobus_xio_attr_cntl \fP .TP \fB\fIGLOBUS_XIO_UDP_GET_SERVICE \fP\fP See usage for: \fBglobus_xio_attr_cntl \fP .TP \fB\fIGLOBUS_XIO_UDP_SET_PORT \fP\fP See usage for: \fBglobus_xio_attr_cntl \fP .TP \fB\fIGLOBUS_XIO_UDP_GET_PORT \fP\fP See usage for: \fBglobus_xio_attr_cntl \fP .TP \fB\fIGLOBUS_XIO_UDP_SET_LISTEN_RANGE \fP\fP See usage for: \fBglobus_xio_attr_cntl \fP .TP \fB\fIGLOBUS_XIO_UDP_GET_LISTEN_RANGE \fP\fP See usage for: \fBglobus_xio_attr_cntl \fP .TP \fB\fIGLOBUS_XIO_UDP_SET_INTERFACE \fP\fP See usage for: \fBglobus_xio_attr_cntl \fP .TP \fB\fIGLOBUS_XIO_UDP_GET_INTERFACE \fP\fP See usage for: \fBglobus_xio_attr_cntl \fP .TP \fB\fIGLOBUS_XIO_UDP_SET_RESTRICT_PORT \fP\fP See usage for: \fBglobus_xio_attr_cntl \fP .TP \fB\fIGLOBUS_XIO_UDP_GET_RESTRICT_PORT \fP\fP See usage for: \fBglobus_xio_attr_cntl \fP .TP \fB\fIGLOBUS_XIO_UDP_SET_REUSEADDR \fP\fP See usage for: \fBglobus_xio_attr_cntl \fP .TP \fB\fIGLOBUS_XIO_UDP_GET_REUSEADDR \fP\fP See usage for: \fBglobus_xio_attr_cntl \fP .TP \fB\fIGLOBUS_XIO_UDP_SET_NO_IPV6 \fP\fP See usage for: \fBglobus_xio_attr_cntl \fP .TP \fB\fIGLOBUS_XIO_UDP_GET_NO_IPV6 \fP\fP See usage for: \fBglobus_xio_attr_cntl \fP .TP \fB\fIGLOBUS_XIO_UDP_GET_HANDLE \fP\fP See usage for: \fBglobus_xio_attr_cntl \fP, \fBglobus_xio_handle_cntl \fP .TP \fB\fIGLOBUS_XIO_UDP_SET_SNDBUF \fP\fP See usage for: \fBglobus_xio_attr_cntl \fP, \fBglobus_xio_handle_cntl \fP .TP \fB\fIGLOBUS_XIO_UDP_GET_SNDBUF \fP\fP See usage for: \fBglobus_xio_attr_cntl \fP, \fBglobus_xio_handle_cntl \fP .TP \fB\fIGLOBUS_XIO_UDP_SET_RCVBUF \fP\fP See usage for: \fBglobus_xio_attr_cntl \fP, \fBglobus_xio_handle_cntl \fP .TP \fB\fIGLOBUS_XIO_UDP_GET_RCVBUF \fP\fP See usage for: \fBglobus_xio_attr_cntl \fP, \fBglobus_xio_handle_cntl \fP .TP \fB\fIGLOBUS_XIO_UDP_GET_CONTACT \fP\fP See usage for: \fBglobus_xio_handle_cntl \fP, \fBglobus_xio_data_descriptor_cntl \fP .TP \fB\fIGLOBUS_XIO_UDP_GET_NUMERIC_CONTACT \fP\fP See usage for: \fBglobus_xio_handle_cntl \fP, \fBglobus_xio_data_descriptor_cntl \fP .TP \fB\fIGLOBUS_XIO_UDP_SET_CONTACT \fP\fP See usage for: \fBglobus_xio_data_descriptor_cntl \fP .TP \fB\fIGLOBUS_XIO_UDP_CONNECT \fP\fP See usage for: \fBglobus_xio_handle_cntl \fP .TP \fB\fIGLOBUS_XIO_UDP_SET_MULTICAST \fP\fP See usage for: \fBglobus_xio_attr_cntl \fP .SH "Function Documentation" .PP .SS "globus_result_t globus_xio_attr_cntl (attr, driver, \fBGLOBUS_XIO_UDP_GET_HANDLE\fP, globus_xio_system_socket_t * handle_out)" This is an overloaded member function, provided for convenience\&. It differs from the above function only in what argument(s) it accepts\&. Get the socket handle on an attr or handle\&. .PP \fBParameters\fP .RS 4 \fIhandle_out\fP The udp socket will be stored here\&. If none is set, GLOBUS_XIO_UDP_INVALID_HANDLE will be set\&. .RE .PP .SS "globus_result_t globus_xio_attr_cntl (attr, driver, \fBGLOBUS_XIO_UDP_GET_INTERFACE\fP, char ** interface_out)" This is an overloaded member function, provided for convenience\&. It differs from the above function only in what argument(s) it accepts\&. Get the interface on the attr\&. .PP \fBParameters\fP .RS 4 \fIinterface_out\fP A pointer to the interface will be stored here If one is set, NULL will be passed back\&. Otherwise, the interface will be duplicated with strdup() and the user should call free() on it\&. .RE .PP .SS "globus_result_t globus_xio_attr_cntl (attr, driver, \fBGLOBUS_XIO_UDP_GET_LISTEN_RANGE\fP, int * listener_min_port_out, int * listener_max_port_out)" This is an overloaded member function, provided for convenience\&. It differs from the above function only in what argument(s) it accepts\&. Get the udp port range on an attr\&. .PP \fBParameters\fP .RS 4 \fIlistener_min_port_out\fP The lower bound will be stored here\&. .br \fIlistener_max_port_out\fP The upper bound will be stored here\&. .RE .PP .SS "globus_result_t globus_xio_attr_cntl (attr, driver, \fBGLOBUS_XIO_UDP_GET_NO_IPV6\fP, globus_bool_t * no_ipv6_out)" This is an overloaded member function, provided for convenience\&. It differs from the above function only in what argument(s) it accepts\&. Get the no ipv6 flag on an attr\&. .PP \fBParameters\fP .RS 4 \fIno_ipv6_out\fP The no ipv6 flag will be stored here\&. .RE .PP .SS "globus_result_t globus_xio_attr_cntl (attr, driver, \fBGLOBUS_XIO_UDP_GET_PORT\fP, int * listener_port_out)" This is an overloaded member function, provided for convenience\&. It differs from the above function only in what argument(s) it accepts\&. the port number to listen on\&. .PP \fBParameters\fP .RS 4 \fIlistener_port_out\fP The port will be stored here\&. .RE .PP .SS "globus_result_t globus_xio_attr_cntl (attr, driver, \fBGLOBUS_XIO_UDP_GET_RCVBUF\fP, int * rcvbuf_out)" This is an overloaded member function, provided for convenience\&. It differs from the above function only in what argument(s) it accepts\&. Get the receive buffer size on the attr or handle\&. .PP \fBParameters\fP .RS 4 \fIrcvbuf_out\fP The receive buffer size will be stored here\&. .RE .PP .SS "globus_result_t globus_xio_attr_cntl (attr, driver, \fBGLOBUS_XIO_UDP_GET_RESTRICT_PORT\fP, globus_bool_t * restrict_port_out)" This is an overloaded member function, provided for convenience\&. It differs from the above function only in what argument(s) it accepts\&. Get the restrict port flag\&. .PP \fBParameters\fP .RS 4 \fIrestrict_port_out\fP The restrict port flag will be stored here\&. .RE .PP .SS "globus_result_t globus_xio_attr_cntl (attr, driver, \fBGLOBUS_XIO_UDP_GET_REUSEADDR\fP, globus_bool_t * resuseaddr_out)" This is an overloaded member function, provided for convenience\&. It differs from the above function only in what argument(s) it accepts\&. Get the reuseaddr flag on an attr\&. .PP \fBParameters\fP .RS 4 \fIresuseaddr_out\fP The reuseaddr flag will be stored here\&. .RE .PP .SS "globus_result_t globus_xio_attr_cntl (attr, driver, \fBGLOBUS_XIO_UDP_GET_SERVICE\fP, char ** service_name_out)" This is an overloaded member function, provided for convenience\&. It differs from the above function only in what argument(s) it accepts\&. Get the service name to listen on\&. .PP \fBParameters\fP .RS 4 \fIservice_name_out\fP A pointer to the service name will be stored here If none is set, NULL will be passed back\&. Otherwise, the name will be duplicated with strdup() and the user should call free() on it\&. .RE .PP .SS "globus_result_t globus_xio_attr_cntl (attr, driver, \fBGLOBUS_XIO_UDP_GET_SNDBUF\fP, int * sndbuf_out)" This is an overloaded member function, provided for convenience\&. It differs from the above function only in what argument(s) it accepts\&. Get the send buffer size on the attr or handle\&. .PP \fBParameters\fP .RS 4 \fIsndbuf_out\fP The send buffer size will be stored here\&. .RE .PP .SS "globus_result_t globus_xio_attr_cntl (attr, driver, \fBGLOBUS_XIO_UDP_SET_HANDLE\fP, globus_xio_system_socket_t handle)" This is an overloaded member function, provided for convenience\&. It differs from the above function only in what argument(s) it accepts\&. Set the udp socket to use\&. .PP \fBParameters\fP .RS 4 \fIhandle\fP Use this handle (fd or SOCKET)\&. Note: close() will not be called on this handle\&. .RE .PP .SS "globus_result_t globus_xio_attr_cntl (attr, driver, \fBGLOBUS_XIO_UDP_SET_INTERFACE\fP, const char * interface)" This is an overloaded member function, provided for convenience\&. It differs from the above function only in what argument(s) it accepts\&. Set the interface to bind the socket to\&. .PP \fBParameters\fP .RS 4 \fIinterface\fP The interface to use\&. Can be a hostname or numeric IP .RE .PP .SS "globus_result_t globus_xio_attr_cntl (attr, driver, \fBGLOBUS_XIO_UDP_SET_LISTEN_RANGE\fP, int listener_min_port, int listener_max_port)" This is an overloaded member function, provided for convenience\&. It differs from the above function only in what argument(s) it accepts\&. Set the port range to confine the listener to\&. .PP Used only where no specific service or port has been set\&. It overrides the range set in the GLOBUS_UDP_PORT_RANGE env variable\&. If 'restrict port' is true, the listening port will be constrained to the range specified\&. .PP \fBParameters\fP .RS 4 \fIlistener_min_port\fP The lower bound on the listener port\&. (default 0 -- no bound) .br \fIlistener_max_port\fP The upper bound on the listener port\&. (default 0 -- no bound) .RE .PP \fBSee also\fP .RS 4 \fBGLOBUS_XIO_UDP_SET_RESTRICT_PORT\fP .RE .PP .SS "globus_result_t globus_xio_attr_cntl (attr, driver, \fBGLOBUS_XIO_UDP_SET_MULTICAST\fP, char * contact_string)" This is an overloaded member function, provided for convenience\&. It differs from the above function only in what argument(s) it accepts\&. Join a multicast group\&. .PP Specify a multicast group to join\&. All packets received will be to the specified multicast address\&. Do not use \fBGLOBUS_XIO_UDP_CONNECT\fP, \fBGLOBUS_XIO_UDP_SET_PORT\fP, or pass a contact string on the open\&. Consider using \fBGLOBUS_XIO_UDP_SET_REUSEADDR\fP to allow other apps to join this group\&. Use \fBGLOBUS_XIO_UDP_SET_INTERFACE\fP to specify the interface to use\&. Will not affect handles set with \fBGLOBUS_XIO_UDP_SET_HANDLE\fP\&. \fBGLOBUS_XIO_UDP_SET_RESTRICT_PORT\fP is ignored\&. .PP \fBParameters\fP .RS 4 \fIcontact_string\fP A pointer to a contact string of the multicast group to join with the format: : .RE .PP .SS "globus_result_t globus_xio_attr_cntl (attr, driver, \fBGLOBUS_XIO_UDP_SET_NO_IPV6\fP, globus_bool_t no_ipv6)" This is an overloaded member function, provided for convenience\&. It differs from the above function only in what argument(s) it accepts\&. Restrict to IPV4 only\&. .PP Disallow IPV6 sockets from being used (default is to use either ipv4 or ipv6) .PP \fBParameters\fP .RS 4 \fIno_ipv6\fP GLOBUS_TRUE to disallow ipv6, GLOBUS_FALSE to allow (default) .RE .PP .SS "globus_result_t globus_xio_attr_cntl (attr, driver, \fBGLOBUS_XIO_UDP_SET_PORT\fP, int listener_port)" This is an overloaded member function, provided for convenience\&. It differs from the above function only in what argument(s) it accepts\&. Set the port number to listen on\&. .PP The default is 0 (system assigned) .PP \fBParameters\fP .RS 4 \fIlistener_port\fP The port number to use when setting up the listener\&. If the service name is also set, this will only be used if that can't be resolved\&. .RE .PP .SS "globus_result_t globus_xio_attr_cntl (attr, driver, \fBGLOBUS_XIO_UDP_SET_RCVBUF\fP, int rcvbuf)" This is an overloaded member function, provided for convenience\&. It differs from the above function only in what argument(s) it accepts\&. Set the socket receive buffer size\&. .PP Used to set the size of the receive buffer used on the socket\&. .PP \fBParameters\fP .RS 4 \fIrcvbuf\fP The receive buffer size in bytes\&. (default is system specific) .RE .PP .SS "globus_result_t globus_xio_attr_cntl (attr, driver, \fBGLOBUS_XIO_UDP_SET_RESTRICT_PORT\fP, globus_bool_t restrict_port)" This is an overloaded member function, provided for convenience\&. It differs from the above function only in what argument(s) it accepts\&. Enable or disable the listener range constraints\&. .PP This enables or ignores the port range found in the attr or in then env\&. By default, those ranges are enabled\&. .PP \fBParameters\fP .RS 4 \fIrestrict_port\fP GLOBUS_TRUE to enable (default), GLOBUS_FALSE to disable\&. .RE .PP \fBSee also\fP .RS 4 \fBGLOBUS_XIO_UDP_SET_LISTEN_RANGE\fP .RE .PP .SS "globus_result_t globus_xio_attr_cntl (attr, driver, \fBGLOBUS_XIO_UDP_SET_REUSEADDR\fP, globus_bool_t resuseaddr)" This is an overloaded member function, provided for convenience\&. It differs from the above function only in what argument(s) it accepts\&. Reuse addr when binding\&. .PP Used to determine whether or not to allow reuse of addresses when binding a socket to a port number\&. .PP \fBParameters\fP .RS 4 \fIresuseaddr\fP GLOBUS_TRUE to allow, GLOBUS_FALSE to disallow (default) .RE .PP .SS "globus_result_t globus_xio_attr_cntl (attr, driver, \fBGLOBUS_XIO_UDP_SET_SERVICE\fP, const char * service_name)" This is an overloaded member function, provided for convenience\&. It differs from the above function only in what argument(s) it accepts\&. Set the udp service name to listen on\&. .PP \fBParameters\fP .RS 4 \fIservice_name\fP The service name to use when setting up the listener\&. If the service name cannot be resolved, the port (if one is set) will be used instead\&. .RE .PP .SS "globus_result_t globus_xio_attr_cntl (attr, driver, \fBGLOBUS_XIO_UDP_SET_SNDBUF\fP, int sndbuf)" This is an overloaded member function, provided for convenience\&. It differs from the above function only in what argument(s) it accepts\&. Set the socket send buffer size\&. .PP Used to set the size of the send buffer used on the socket\&. .PP \fBParameters\fP .RS 4 \fIsndbuf\fP The send buffer size in bytes to use\&. (default is system specific) .RE .PP .SS "globus_result_t globus_xio_data_descriptor_cntl (dd, driver, \fBGLOBUS_XIO_UDP_GET_CONTACT\fP, char ** contact_string_out)" This is an overloaded member function, provided for convenience\&. It differs from the above function only in what argument(s) it accepts\&. Get the contact string associated with a handle or data descriptor\&. .PP Use with \fBglobus_xio_handle_cntl()\fP to get a contact string for the udp listener\&. Use with \fBglobus_xio_data_descriptor_cntl()\fP to get the sender's contact string from a data descriptor passed to \fBglobus_xio_register_read()\fP\&. .PP \fBParameters\fP .RS 4 \fIcontact_string_out\fP A pointer to a contact string will be stored here\&. The user should free() it when done with it\&. It will be in the format: : .RE .PP \fBSee also\fP .RS 4 \fBGLOBUS_XIO_GET_LOCAL_CONTACT\fP .RE .PP .SS "globus_result_t globus_xio_data_descriptor_cntl (dd, driver, \fBGLOBUS_XIO_UDP_GET_NUMERIC_CONTACT\fP, char ** contact_string_out)" This is an overloaded member function, provided for convenience\&. It differs from the above function only in what argument(s) it accepts\&. Get the contact string associated with a handle or data descriptor\&. .PP Use with \fBglobus_xio_handle_cntl()\fP to get a contact string for the udp listener\&. Use with \fBglobus_xio_data_descriptor_cntl()\fP to get the sender's contact string from a data descriptor passed to \fBglobus_xio_register_read()\fP\&. .PP \fBParameters\fP .RS 4 \fIcontact_string_out\fP A pointer to a contact string will be stored here\&. The user should free() it when done with it\&. It will be in the format: : .RE .PP \fBSee also\fP .RS 4 \fBGLOBUS_XIO_GET_LOCAL_NUMERIC_CONTACT\fP .RE .PP .SS "globus_result_t globus_xio_data_descriptor_cntl (dd, driver, \fBGLOBUS_XIO_UDP_SET_CONTACT\fP, char * contact_string)" This is an overloaded member function, provided for convenience\&. It differs from the above function only in what argument(s) it accepts\&. Set the destination contact\&. .PP Use on a data descriptor passed to \fBglobus_xio_register_write()\fP to specify the recipient of the data\&. This is necessary with unconnected handles or to send to recipients other than the connected one\&. .PP \fBParameters\fP .RS 4 \fIcontact_string\fP A pointer to a contact string of the format : .RE .PP \fBSee also\fP .RS 4 \fBGLOBUS_XIO_UDP_CONNECT\fP .RE .PP .SS "globus_result_t globus_xio_handle_cntl (handle, driver, \fBGLOBUS_XIO_UDP_CONNECT\fP, char * contact_string)" This is an overloaded member function, provided for convenience\&. It differs from the above function only in what argument(s) it accepts\&. Set the default destination contact\&. .PP Connecting a handle to a specific contact blocks packets from any other contact\&. It also sets the default destination of all outgoing packets so, using \fBGLOBUS_XIO_UDP_SET_CONTACT\fP is unnecessary\&. .PP \fBParameters\fP .RS 4 \fIcontact_string\fP A pointer to a contact string of the format : .RE .PP .SS "globus_result_t globus_xio_handle_cntl (handle, driver, \fBGLOBUS_XIO_UDP_GET_CONTACT\fP, char ** contact_string_out)" This is an overloaded member function, provided for convenience\&. It differs from the above function only in what argument(s) it accepts\&. Get the contact string associated with a handle or data descriptor\&. .PP Use with \fBglobus_xio_handle_cntl()\fP to get a contact string for the udp listener\&. Use with \fBglobus_xio_data_descriptor_cntl()\fP to get the sender's contact string from a data descriptor passed to \fBglobus_xio_register_read()\fP\&. .PP \fBParameters\fP .RS 4 \fIcontact_string_out\fP A pointer to a contact string will be stored here\&. The user should free() it when done with it\&. It will be in the format: : .RE .PP \fBSee also\fP .RS 4 \fBGLOBUS_XIO_GET_LOCAL_CONTACT\fP .RE .PP .SS "globus_result_t globus_xio_handle_cntl (handle, driver, \fBGLOBUS_XIO_UDP_GET_HANDLE\fP, globus_xio_system_socket_t * handle_out)" This is an overloaded member function, provided for convenience\&. It differs from the above function only in what argument(s) it accepts\&. Get the socket handle on an attr or handle\&. .PP \fBParameters\fP .RS 4 \fIhandle_out\fP The udp socket will be stored here\&. If none is set, GLOBUS_XIO_UDP_INVALID_HANDLE will be set\&. .RE .PP .SS "globus_result_t globus_xio_handle_cntl (handle, driver, \fBGLOBUS_XIO_UDP_GET_NUMERIC_CONTACT\fP, char ** contact_string_out)" This is an overloaded member function, provided for convenience\&. It differs from the above function only in what argument(s) it accepts\&. Get the contact string associated with a handle or data descriptor\&. .PP Use with \fBglobus_xio_handle_cntl()\fP to get a contact string for the udp listener\&. Use with \fBglobus_xio_data_descriptor_cntl()\fP to get the sender's contact string from a data descriptor passed to \fBglobus_xio_register_read()\fP\&. .PP \fBParameters\fP .RS 4 \fIcontact_string_out\fP A pointer to a contact string will be stored here\&. The user should free() it when done with it\&. It will be in the format: : .RE .PP \fBSee also\fP .RS 4 \fBGLOBUS_XIO_GET_LOCAL_NUMERIC_CONTACT\fP .RE .PP .SS "globus_result_t globus_xio_handle_cntl (handle, driver, \fBGLOBUS_XIO_UDP_GET_RCVBUF\fP, int * rcvbuf_out)" This is an overloaded member function, provided for convenience\&. It differs from the above function only in what argument(s) it accepts\&. Get the receive buffer size on the attr or handle\&. .PP \fBParameters\fP .RS 4 \fIrcvbuf_out\fP The receive buffer size will be stored here\&. .RE .PP .SS "globus_result_t globus_xio_handle_cntl (handle, driver, \fBGLOBUS_XIO_UDP_GET_SNDBUF\fP, int * sndbuf_out)" This is an overloaded member function, provided for convenience\&. It differs from the above function only in what argument(s) it accepts\&. Get the send buffer size on the attr or handle\&. .PP \fBParameters\fP .RS 4 \fIsndbuf_out\fP The send buffer size will be stored here\&. .RE .PP .SS "globus_result_t globus_xio_handle_cntl (handle, driver, \fBGLOBUS_XIO_UDP_SET_RCVBUF\fP, int rcvbuf)" This is an overloaded member function, provided for convenience\&. It differs from the above function only in what argument(s) it accepts\&. Set the socket receive buffer size\&. .PP Used to set the size of the receive buffer used on the socket\&. .PP \fBParameters\fP .RS 4 \fIrcvbuf\fP The receive buffer size in bytes\&. (default is system specific) .RE .PP .SS "globus_result_t globus_xio_handle_cntl (handle, driver, \fBGLOBUS_XIO_UDP_SET_SNDBUF\fP, int sndbuf)" This is an overloaded member function, provided for convenience\&. It differs from the above function only in what argument(s) it accepts\&. Set the socket send buffer size\&. .PP Used to set the size of the send buffer used on the socket\&. .PP \fBParameters\fP .RS 4 \fIsndbuf\fP The send buffer size in bytes to use\&. (default is system specific) .RE .PP .SH "Author" .PP Generated automatically by Doxygen for globus_xio from the source code\&.