<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta name="robots" content="noindex"> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <!-- THIS FILE IS AUTOMATICALLY GENERATED FROM THE GLOBUS SOURCE CODE DO NOT MODIFY. --> <title>Globus Reference Manual</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head> <body> <!-- Generated by Doxygen 1.8.3.1 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> $(document).ready(function(){initNavTree('group__gridftp__driver__io.html','');}); </script> <div id="doc-content"> <div class="header"> <div class="headertitle"> <div class="title">Reading/Writing<div class="ingroups"><a class="el" href="group__gridftp__driver.html">Globus XIO GRIDFTP Client Driver</a></div></div> </div> </div><!--header--> <div class="contents"> <div class="dynheader"> Collaboration diagram for Reading/Writing:</div> <div class="dyncontent"> <center><table><tr><td><img src="group__gridftp__driver__io.png" border="0" alt="" usemap="#group____gridftp____driver____io"/> <map name="group____gridftp____driver____io" id="group____gridftp____driver____io"> <area shape="rect" id="node1" href="group__gridftp__driver.html" title="Globus XIO GRIDFTP\l Client Driver" alt="" coords="6,5,159,46"/></map> </td></tr></table></center> </div> <p>The <a class="elRef" href="group__GLOBUS__XIO__API.html#ga9d0da46d0e6121f0d1e1d2cf8f70e3b2">globus_xio_register_read()</a> enforce that the waitforbytes parameter should be one. </p> <p>When multiple TCP streams are used between the client and the server, data might not be delivered in order. <a class="elRef" href="group__GLOBUS__XIO__API.html#ga277915cb1f460ebdcb271f8afb24e54b">globus_xio_data_descriptor_cntl()</a> can be used to get the offset of the data.</p> <p><a class="elRef" href="group__GLOBUS__XIO__API.html#ga06a308bd9154cc72798d7b0828debc17">globus_xio_register_write()</a> does not enforce any restriction on the waitforbytes parameter.</p> <p>In any case, when an error or EOF occurs before the waitforbytes request has been met, the outgoing nbytes is set to the amount of data actually read/written before the error or EOF occurred. </p> </div><!-- contents --> </div><!-- doc-content --> <hr> <p align="center"> <a href="http://www.globus.org/toolkit/about.html" target="_top">about globus</a> | <a href="http://www.globus.org/toolkit/" target="_top">globus toolkit</a> | <a href="https://dev.globus.org/wiki/Welcome/" target="_top">dev.globus</a> <br> <br> Comments? <a href="mailto:webmaster@globus.org">webmaster@globus.org</a> </body> </html>