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.
EXTERNRT int rtxStreamSocketClose (OSCTXT *pctxt)
 This function closes a socket stream.
EXTERNRT int rtxStreamSocketCreateWriter (OSCTXT *pctxt, const char *host, int port)
 This function opens a socket stream for writing.
EXTERNRT int rtxStreamSocketSetOwnership (OSCTXT *pctxt, OSBOOL ownSocket)
 This function transfers ownership of the socket to or from the stream instance.
EXTERNRT int rtxStreamSocketSetReadTimeout (OSCTXT *pctxt, OSUINT32 nsecs)
 This function sets the read timeout value to the given number of seconds.

Detailed Description

Definition in file rtxStreamSocket.h.