Stun Server
Compliant with the latest RFCs including 5389, 5769, and 5780
discover the local host's own external IP address
|
Functions | |
bool | IsNullOrEmpty (const char *psz) |
void | ToLower (std::string &str) |
void | Trim (std::string &str) |
int | ValidateNumberString (const char *psz, int nMinValue, int nMaxValue, int *pnResult) |
bool StringHelper::IsNullOrEmpty | ( | const char * | psz | ) |
Definition at line 31 of file stringhelper.cpp.
void StringHelper::ToLower | ( | std::string & | str | ) |
Definition at line 37 of file stringhelper.cpp.
void StringHelper::Trim | ( | std::string & | str | ) |
Definition at line 67 of file stringhelper.cpp.
int StringHelper::ValidateNumberString | ( | const char * | psz, |
int | nMinValue, | ||
int | nMaxValue, | ||
int * | pnResult | ||
) |
Definition at line 107 of file stringhelper.cpp.