Functions | |
OT_SYS_API_EXPORT unsigned long | checkTCPConnection (port_t _port, const char *_ip) |
Will check if a TCP connection can be established. | |
OT_SYS_API_EXPORT std::wstring | getLastError (void) |
Will return the last error text. | |
OT_SYS_API_EXPORT unsigned long ot::net::checkTCPConnection | ( | port_t | _port, |
const char * | _ip ) |
Will check if a TCP connection can be established.
_port | The target port |
_ip | The target ip |
std::wstring ot::net::getLastError | ( | void | ) |
Will return the last error text.