globus_result_tglobus_xio_attr_cntl(attr,driver,GLOBUS_XIO_UDP_GET_HANDLE,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.
Parametershandle_out The udp socket will be stored here. If none is set, GLOBUS_XIO_UDP_INVALID_HANDLE will be
set.
globus_result_tglobus_xio_attr_cntl(attr,driver,GLOBUS_XIO_UDP_GET_INTERFACE,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.
Parametersinterface_out 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.
globus_result_tglobus_xio_attr_cntl(attr,driver,GLOBUS_XIO_UDP_GET_LISTEN_RANGE,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.
Parameterslistener_min_port_out The lower bound will be stored here.
listener_max_port_out The upper bound will be stored here.
globus_result_tglobus_xio_attr_cntl(attr,driver,GLOBUS_XIO_UDP_GET_NO_IPV6,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.
Parametersno_ipv6_out The no ipv6 flag will be stored here.
globus_result_tglobus_xio_attr_cntl(attr,driver,GLOBUS_XIO_UDP_GET_PORT,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.
Parameterslistener_port_out The port will be stored here.
globus_result_tglobus_xio_attr_cntl(attr,driver,GLOBUS_XIO_UDP_GET_RCVBUF,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.
Parametersrcvbuf_out The receive buffer size will be stored here.
globus_result_tglobus_xio_attr_cntl(attr,driver,GLOBUS_XIO_UDP_GET_RESTRICT_PORT,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.
Parametersrestrict_port_out The restrict port flag will be stored here.
globus_result_tglobus_xio_attr_cntl(attr,driver,GLOBUS_XIO_UDP_GET_REUSEADDR,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.
Parametersresuseaddr_out The reuseaddr flag will be stored here.
globus_result_tglobus_xio_attr_cntl(attr,driver,GLOBUS_XIO_UDP_GET_SERVICE,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.
Parametersservice_name_out 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.
globus_result_tglobus_xio_attr_cntl(attr,driver,GLOBUS_XIO_UDP_GET_SNDBUF,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.
Parameterssndbuf_out The send buffer size will be stored here.
globus_result_tglobus_xio_attr_cntl(attr,driver,GLOBUS_XIO_UDP_SET_HANDLE,globus_xio_system_socket_thandle)
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.
Parametershandle Use this handle (fd or SOCKET). Note: close() will not be called on this handle.
globus_result_tglobus_xio_attr_cntl(attr,driver,GLOBUS_XIO_UDP_SET_INTERFACE,constchar*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.
Parametersinterface The interface to use. Can be a hostname or numeric IP
globus_result_tglobus_xio_attr_cntl(attr,driver,GLOBUS_XIO_UDP_SET_LISTEN_RANGE,intlistener_min_port,intlistener_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.
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.
Parameterslistener_min_port The lower bound on the listener port. (default 0 -- no bound)
listener_max_port The upper bound on the listener port. (default 0 -- no bound)
SeealsoGLOBUS_XIO_UDP_SET_RESTRICT_PORTglobus_result_tglobus_xio_attr_cntl(attr,driver,GLOBUS_XIO_UDP_SET_MULTICAST,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.
Specify a multicast group to join. All packets received will be to the specified multicast address. Do
not use GLOBUS_XIO_UDP_CONNECT, GLOBUS_XIO_UDP_SET_PORT, or pass a contact string on the open. Consider
using GLOBUS_XIO_UDP_SET_REUSEADDR to allow other apps to join this group. Use
GLOBUS_XIO_UDP_SET_INTERFACE to specify the interface to use. Will not affect handles set with
GLOBUS_XIO_UDP_SET_HANDLE. GLOBUS_XIO_UDP_SET_RESTRICT_PORT is ignored.
Parameterscontact_string A pointer to a contact string of the multicast group to join with the format:
<hostname/ip>:<port/service>
globus_result_tglobus_xio_attr_cntl(attr,driver,GLOBUS_XIO_UDP_SET_NO_IPV6,globus_bool_tno_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.
Disallow IPV6 sockets from being used (default is to use either ipv4 or ipv6)
Parametersno_ipv6 GLOBUS_TRUE to disallow ipv6, GLOBUS_FALSE to allow (default)
globus_result_tglobus_xio_attr_cntl(attr,driver,GLOBUS_XIO_UDP_SET_PORT,intlistener_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.
The default is 0 (system assigned)
Parameterslistener_port 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.
globus_result_tglobus_xio_attr_cntl(attr,driver,GLOBUS_XIO_UDP_SET_RCVBUF,intrcvbuf)
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.
Used to set the size of the receive buffer used on the socket.
Parametersrcvbuf The receive buffer size in bytes. (default is system specific)
globus_result_tglobus_xio_attr_cntl(attr,driver,GLOBUS_XIO_UDP_SET_RESTRICT_PORT,globus_bool_trestrict_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.
This enables or ignores the port range found in the attr or in then env. By default, those ranges are
enabled.
Parametersrestrict_port GLOBUS_TRUE to enable (default), GLOBUS_FALSE to disable.
SeealsoGLOBUS_XIO_UDP_SET_LISTEN_RANGEglobus_result_tglobus_xio_attr_cntl(attr,driver,GLOBUS_XIO_UDP_SET_REUSEADDR,globus_bool_tresuseaddr)
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.
Used to determine whether or not to allow reuse of addresses when binding a socket to a port number.
Parametersresuseaddr GLOBUS_TRUE to allow, GLOBUS_FALSE to disallow (default)
globus_result_tglobus_xio_attr_cntl(attr,driver,GLOBUS_XIO_UDP_SET_SERVICE,constchar*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.
Parametersservice_name 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.
globus_result_tglobus_xio_attr_cntl(attr,driver,GLOBUS_XIO_UDP_SET_SNDBUF,intsndbuf)
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.
Used to set the size of the send buffer used on the socket.
Parameterssndbuf The send buffer size in bytes to use. (default is system specific)
globus_result_tglobus_xio_data_descriptor_cntl(dd,driver,GLOBUS_XIO_UDP_GET_CONTACT,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.
Use with globus_xio_handle_cntl() to get a contact string for the udp listener. Use with
globus_xio_data_descriptor_cntl() to get the sender's contact string from a data descriptor passed to
globus_xio_register_read().
Parameterscontact_string_out 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: <hostname>:<port>
SeealsoGLOBUS_XIO_GET_LOCAL_CONTACTglobus_result_tglobus_xio_data_descriptor_cntl(dd,driver,GLOBUS_XIO_UDP_GET_NUMERIC_CONTACT,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.
Use with globus_xio_handle_cntl() to get a contact string for the udp listener. Use with
globus_xio_data_descriptor_cntl() to get the sender's contact string from a data descriptor passed to
globus_xio_register_read().
Parameterscontact_string_out 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: <ip>:<port>
SeealsoGLOBUS_XIO_GET_LOCAL_NUMERIC_CONTACTglobus_result_tglobus_xio_data_descriptor_cntl(dd,driver,GLOBUS_XIO_UDP_SET_CONTACT,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.
Use on a data descriptor passed to globus_xio_register_write() to specify the recipient of the data. This
is necessary with unconnected handles or to send to recipients other than the connected one.
Parameterscontact_string A pointer to a contact string of the format <hostname/ip>:<port/service>
SeealsoGLOBUS_XIO_UDP_CONNECTglobus_result_tglobus_xio_handle_cntl(handle,driver,GLOBUS_XIO_UDP_CONNECT,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.
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 GLOBUS_XIO_UDP_SET_CONTACT is unnecessary.
Parameterscontact_string A pointer to a contact string of the format <hostname/ip>:<port/service>
globus_result_tglobus_xio_handle_cntl(handle,driver,GLOBUS_XIO_UDP_GET_CONTACT,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.
Use with globus_xio_handle_cntl() to get a contact string for the udp listener. Use with
globus_xio_data_descriptor_cntl() to get the sender's contact string from a data descriptor passed to
globus_xio_register_read().
Parameterscontact_string_out 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: <hostname>:<port>
SeealsoGLOBUS_XIO_GET_LOCAL_CONTACTglobus_result_tglobus_xio_handle_cntl(handle,driver,GLOBUS_XIO_UDP_GET_HANDLE,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.
Parametershandle_out The udp socket will be stored here. If none is set, GLOBUS_XIO_UDP_INVALID_HANDLE will be
set.
globus_result_tglobus_xio_handle_cntl(handle,driver,GLOBUS_XIO_UDP_GET_NUMERIC_CONTACT,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.
Use with globus_xio_handle_cntl() to get a contact string for the udp listener. Use with
globus_xio_data_descriptor_cntl() to get the sender's contact string from a data descriptor passed to
globus_xio_register_read().
Parameterscontact_string_out 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: <ip>:<port>
SeealsoGLOBUS_XIO_GET_LOCAL_NUMERIC_CONTACTglobus_result_tglobus_xio_handle_cntl(handle,driver,GLOBUS_XIO_UDP_GET_RCVBUF,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.
Parametersrcvbuf_out The receive buffer size will be stored here.
globus_result_tglobus_xio_handle_cntl(handle,driver,GLOBUS_XIO_UDP_GET_SNDBUF,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.
Parameterssndbuf_out The send buffer size will be stored here.
globus_result_tglobus_xio_handle_cntl(handle,driver,GLOBUS_XIO_UDP_SET_RCVBUF,intrcvbuf)
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.
Used to set the size of the receive buffer used on the socket.
Parametersrcvbuf The receive buffer size in bytes. (default is system specific)
globus_result_tglobus_xio_handle_cntl(handle,driver,GLOBUS_XIO_UDP_SET_SNDBUF,intsndbuf)
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.
Used to set the size of the send buffer used on the socket.
Parameterssndbuf The send buffer size in bytes to use. (default is system specific)