|
SPAOP
|
#include <string>#include <sstream>#include <vector>#include <iostream>#include <arpa/inet.h>Go to the source code of this file.
Namespaces | |
| parsetools | |
| A namespace for tools for manipulation and validation of user input strings. | |
Macros | |
| #define | PORT_NO_MIN 1024 |
| Lower bound of "legal" port numbers. More... | |
| #define | PORT_NO_MAX 65535 |
| Upper bound of "legal" port numbers. More... | |
Functions | |
| std::vector< const std::string > | parsetools::splitString (const std::string &s, char delim) |
| Splits a string around the matches of a given delimiter char. More... | |
| bool | parsetools::isValidIP (const std::string &ip) |
| Checks whether a given string represents a valid IP(v4). More... | |
| bool | parsetools::isValidPort (const std::string &port) |
| Checks whether a given string represents a valid user port number. More... | |
| #define PORT_NO_MAX 65535 |
Upper bound of "legal" port numbers.
| #define PORT_NO_MIN 1024 |
Lower bound of "legal" port numbers.
1.8.6