22 #include <sys/socket.h>
27 using namespace SGCTP;
39 int __iReturn = ::sendto( _iSocket, _pBuffer, _iSize, _iFlags,
52 int __iReturn = ::recvfrom( _iSocket, _pBuffer, _iSize, _iFlags,
virtual int unserialize(int _iDescriptor, CData *_poData, int _iMaxSize=0)
Unserialize the SGCTP data from the given descriptor.
virtual int send(int _iSocket, const void *_pBuffer, int _iSize, int _iFlags)
Send data to the given descriptor.
virtual int recv(int _iSocket, void *_pBuffer, int _iSize, int _iFlags)
Receive data from the given descriptor.
virtual int alloc()
Allocate resources required for data transmission (un-/serialization)
socklen_t * ptSocklenT
Network socket address length (pointer to existing variable)
void resetBuffer()
Reset the data buffer (clear all data)
virtual int unserialize(int _iDescriptor, CData *_poData, int _iMaxSize=0)
Unserialize the SGCTP data from the given descriptor.
struct sockaddr * ptSockaddr
Network socket address (pointer to existing variable)
int allocBuffer()
Allocate resources required for data transmission.