XBinder  Version 2.6.x
Functions
rtxStreamSocket.h File Reference
#include "rtxsrc/rtxStream.h"
#include "rtxsrc/rtxSocket.h"

Go to the source code of this file.

Functions

EXTERNRT int rtxStreamSocketAttach (OSCTXT *pctxt, OSRTSOCKET socket, OSUINT16 flags)
 Attaches the existing socket handle to the stream. More...
 
EXTERNRT int rtxStreamSocketClose (OSCTXT *pctxt)
 This function closes a socket stream. More...
 
EXTERNRT int rtxStreamSocketCreateWriter (OSCTXT *pctxt, const char *host, int port)
 This function opens a socket stream for writing. More...
 
EXTERNRT int rtxStreamSocketSetOwnership (OSCTXT *pctxt, OSBOOL ownSocket)
 This function transfers ownership of the socket to or from the stream instance. More...
 
EXTERNRT int rtxStreamSocketSetReadTimeout (OSCTXT *pctxt, OSUINT32 nsecs)
 This function sets the read timeout value to the given number of seconds. More...