int receive( char* buffer, int bufferSize) Get the next chunk of data from the stream. Returns bytes received. MgcpUdpPacket* receive() return a new UDP packet, non-blocking, NULL if none available, user must free this packet void onlyAcceptPacketsFrom( char* hostName ) Set the stack so it generates an error if it received data from other hosts void addToFdSet( fd_set* set ) add this file descriptor to a FD_SET for a select call to use bool checkIfSet( fd_set* set ) Check if this file descriptor is set in an FD_SET for checking after a select call MgcpUdpPacket* getPacket() read the next packet off the network
MgcpUdpPacket* receive() return a new UDP packet, non-blocking, NULL if none available, user must free this packet void onlyAcceptPacketsFrom( char* hostName ) Set the stack so it generates an error if it received data from other hosts void addToFdSet( fd_set* set ) add this file descriptor to a FD_SET for a select call to use bool checkIfSet( fd_set* set ) Check if this file descriptor is set in an FD_SET for checking after a select call MgcpUdpPacket* getPacket() read the next packet off the network
void onlyAcceptPacketsFrom( char* hostName ) Set the stack so it generates an error if it received data from other hosts void addToFdSet( fd_set* set ) add this file descriptor to a FD_SET for a select call to use bool checkIfSet( fd_set* set ) Check if this file descriptor is set in an FD_SET for checking after a select call MgcpUdpPacket* getPacket() read the next packet off the network
void addToFdSet( fd_set* set ) add this file descriptor to a FD_SET for a select call to use bool checkIfSet( fd_set* set ) Check if this file descriptor is set in an FD_SET for checking after a select call MgcpUdpPacket* getPacket() read the next packet off the network
bool checkIfSet( fd_set* set ) Check if this file descriptor is set in an FD_SET for checking after a select call MgcpUdpPacket* getPacket() read the next packet off the network
MgcpUdpPacket* getPacket() read the next packet off the network
alphabetic index hierarchy of classes
generated by doc++