27 #ifndef _RTXSTREAMSOCKET_H_ 28 #define _RTXSTREAMSOCKET_H_ 84 (
OSCTXT* pctxt,
const char* host,
int port);
EXTERNRT int rtxStreamSocketCreateWriter(OSCTXT *pctxt, const char *host, int port)
This function opens a socket stream for writing.
int OSRTSOCKET
Socket handle type definition.
EXTERNRT int rtxStreamSocketClose(OSCTXT *pctxt)
This function closes a socket stream.
EXTERNRT int rtxStreamSocketAttach(OSCTXT *pctxt, OSRTSOCKET socket, OSUINT16 flags)
Attaches the existing socket handle to the stream.
Input/output data stream type definitions and function prototypes.
Run-time context structure.
EXTERNRT int rtxStreamSocketSetReadTimeout(OSCTXT *pctxt, OSUINT32 nsecs)
This function sets the read timeout value to the given number of seconds.
EXTERNRT int rtxStreamSocketSetOwnership(OSCTXT *pctxt, OSBOOL ownSocket)
This function transfers ownership of the socket to or from the stream instance.