#include <udp.h>
Public Types | |
| enum | sockStat { OK = 0 , UNKNOWN = -1 , ISCONN = -2 , INPROGRESS = -3 , ALREADY = -4 , AGAIN = -5 , ADDRINUSE = -6 , ADDRNOTAVAIL = -7 , BADF = -8 , CONNREFUSED = -9 , INTR =-10 , NOTSOCK =-11 , PIPE =-12 , WOULDBLOCK =-13 , INVAL =-14 , TIMEDOUT =-15 , OK = 0 , UNKNOWN = -1 , ISCONN = -2 , INPROGRESS = -3 , ALREADY = -4 , AGAIN = -5 , ADDRINUSE = -6 , ADDRNOTAVAIL = -7 , BADF = -8 , CONNREFUSED = -9 , INTR =-10 , NOTSOCK =-11 , PIPE =-12 , WOULDBLOCK =-13 , INVAL =-14 , TIMEDOUT =-15 , OK = 0 , UNKNOWN = -1 , ISCONN = -2 , INPROGRESS = -3 , ALREADY = -4 , AGAIN = -5 , ADDRINUSE = -6 , ADDRNOTAVAIL = -7 , BADF = -8 , CONNREFUSED = -9 , INTR =-10 , NOTSOCK =-11 , PIPE =-12 , WOULDBLOCK =-13 , INVAL =-14 , TIMEDOUT =-15 } |
| enum UDP::sockStat |
| UDP::UDP | ( | ) |
| UDP::~UDP | ( | ) |
| UDP::UDP | ( | ) |
| UDP::~UDP | ( | ) |
| Int UDP::Bind | ( | const char * | Host, |
| UnsignedShort | port ) |
| Int UDP::Bind | ( | UnsignedInt | IP, |
| UnsignedShort | port ) |
| void UDP::ClearStatus | ( | void | ) |
| void UDP::ClearStatus | ( | void | ) |
| int UDP::GetInputBuffer | ( | void | ) |
| int UDP::GetInputBuffer | ( | void | ) |
| Int UDP::getLocalAddr | ( | UnsignedInt & | ip, |
| UnsignedShort & | port ) |
| int UDP::GetOutputBuffer | ( | void | ) |
| int UDP::GetOutputBuffer | ( | void | ) |
| UDP::sockStat UDP::GetStatus | ( | void | ) |
| sockStat UDP::GetStatus | ( | void | ) |
| sockStat UDP::GetStatus | ( | void | ) |
| Int UDP::Read | ( | unsigned char * | msg, |
| UnsignedInt | len, | ||
| sockaddr_in * | from ) |
| Int UDP::SetInputBuffer | ( | UnsignedInt | bytes | ) |
| Int UDP::SetOutputBuffer | ( | UnsignedInt | bytes | ) |
| Int UDP::Write | ( | const unsigned char * | msg, |
| UnsignedInt | len, | ||
| UnsignedInt | IP, | ||
| UnsignedShort | port ) |