OSSocketOutputStream Class ReferenceGeneric socket output stream.
More...
#include <rtxCppSocketOutputStream.h>
Inheritance diagram for OSSocketOutputStream:
List of all members.
Detailed Description
Generic socket output stream.
This class opens an existing socket for output in binary mode and reads data from it.
Definition at line 38 of file rtxCppSocketOutputStream.h.
Constructor & Destructor Documentation
| OSSocketOutputStream::OSSocketOutputStream |
( |
OSSocketClass & |
socket |
) |
|
|
|
|
Creates and initializes a socket output stream using the OSSocketClass instance of socket.
- Parameters:
-
- See also:
- rtxStreamSocketOpen
|
|
|
Creates and initializes a socket output stream using the OSSocketClass instance of socket.
- Parameters:
-
| pContext | Pointer to a context to use. |
| socket | Reference to OSSocketClass instance. |
- See also:
- rtxStreamSocketOpen
|
| OSSocketOutputStream::OSSocketOutputStream |
( |
OSRTSOCKET |
socket, |
|
|
OSBOOL |
ownership = FALSE |
|
) |
|
|
|
|
Initializes the socket output stream using the socket handle.
- Parameters:
-
| socket | Handle of the socket. |
| ownership | Indicates ownership of the socket. Set to TRUE to pass ownership to this object instance. The socket will be closed when this object instance is deleted or goes out of scope. |
- See also:
- rtxStreamSocketAttach
|
| OSSocketOutputStream::OSSocketOutputStream |
( |
OSContext * |
pContext, |
|
|
OSRTSOCKET |
socket, |
|
|
OSBOOL |
ownership = FALSE |
|
) |
|
|
|
|
Initializes the socket output stream using the socket handle.
- Parameters:
-
| pContext | Pointer to a context to use. |
| socket | Handle of the socket. |
| ownership | Indicates ownership of the socket. Set to TRUE to pass ownership to this object instance. The socket will be closed when this object instance is deleted or goes out of scope. |
- See also:
- rtxStreamSocketAttach
|
The documentation for this class was generated from the following file:
|