Poster of Linux kernelThe best gift for a Linux geek
Opening/Closing

Opening/Closing

Section: globus xio (3) Updated: 7 Jun 2010
Local index Up
 

NAME

Opening/Closing -

An XIO handle with the udp driver can be created with globus_xio_handle_create(). An XIO handle with the udp driver can be created with globus_xio_handle_create().

The handle can be created in two modes: open server or connected client. If the contact string does not have a host and port, the udp socket will accept messages from any sender. If a host and port is specified, the udp socket will be 'connected' immediately to that host:port. This blocks packets from any sender other than the contact string. A handle that starts out as an open server can later be 'connected' with GLOBUS_XIO_UDP_CONNECT (presumably after the first message is received from a sender and his contact info is available).

When the XIO handle is closed, the udp driver will destroy its internal resources and close the socket (unless this socket was set on the attr to globus_xio_register_open()).  

Author

Generated automatically by Doxygen for globus xio from the source code.


 

Index

NAME
Author

This document was created by man2html, using the manual pages.
Time: 21:57:53 GMT, April 16, 2011