7 #ifndef _STREAM_SOCKET_CLASS_HEADER_
8 #define _STREAM_SOCKET_CLASS_HEADER_
92 tResult Connect(const cString& strDest, tInt nPort, tUInt32 dwMode = OM_Block);
150 tResult Connect(tUInt32 dwDest, tInt nPort, tUInt32 dwMode=OM_Block);
244 tResult Write(const void* pData, tInt nDataLength, tInt* pnBytesWritten=nullptr);
313 tResult Read(void* pBuffer, tInt nBufferSize, tInt* pnBytesRead=nullptr);
407 tResult Open(tInt nPort, tUInt32 dwMode = 0, tUInt32 ui32InterfaceAddress = 0);
450 tResult Listen(tInt nMaxRequests=0);
507 tResult Accept(cStreamSocket& oStreamSocket);
564 tResult Accept(tSocketHandle& hClientSocket);
tInt64 tTimeStamp
type definition for a time value.
bool tBool
The tBool defines the type for the Values tTrue and tFalse (platform and compiler dependent).
tBool IsConnected(tTimeStamp nTimeout=0)
Polls the socket for its connection state.
virtual ~cServerSocket()
Destructor.
cServerSocket()
Default constructor.
tOpenMode
The mode in which to run the sockets during and after a connection.
cStreamSocket()
Default constructor.
virtual ~cStreamSocket()
Destructor.
tBool IsConnected(tTimeStamp nTimeout=0)
Polls the socket for its connection state.
#define A_UTILS_D(__pclassname_)
Helper macro for d-pattern definitions.
ADTF A_UTIL Namespace - Within adtf this is used as adtf::util or adtf_util.