Dear Marc,<div><br></div><div>If I open a TCP port by either <font face="courier new, monospace">|open-tcp-client|</font>, or by <font face="courier new, monospace">(read (open-tcp-server .. ))</font>, and then I just let the object remain referenced to as not to GC and do not perform any Gambit IO operations on them whatsoever except for <font face="courier new, monospace">|port-wait-for-input|</font>, <font face="courier new, monospace">|port-wait-for-output|</font> and <font face="courier new, monospace">|force-output|</font>, then I can do any IO operations on the socket that I want to (i.e. reading and writing) directly with the OS and Gambit will *not* interfere with those by by reading in prebuffering purposes or alike?</div>

<div><br></div><div>(I do the direct socket access by extracting the TCP port's socket integer from the port object.)</div><div><br></div><div>Thanks,</div><div>Mikael</div><div><br></div><div><br></div><div><br></div>

<div><br></div><div><br></div><div><br></div><div><div><font face="courier new, monospace">(define (port-wait-for-input port)</font></div><div><font face="courier new, monospace">  (##wait-for-io!</font></div><div><font face="courier new, monospace">   (device-port-rdevice-condvar port)</font></div>

<div><font face="courier new, monospace">   (port-rtimeout port)))</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">(define (port-wait-for-output port)</font></div>

<div><font face="courier new, monospace">  (##wait-for-io!</font></div><div><font face="courier new, monospace">   (device-port-wdevice-condvar port)</font></div><div><font face="courier new, monospace">   (port-wtimeout port)))</font></div>

</div><div><br></div>