Lines Matching refs:port
43 " tmode port [port] - Reboot the device, listening on TCP port\n"
60 " tcp:<port>\n"
110 " tconn key - Connect device via key, TCP use ip:port\n"
124 " -s [ip:]port - Set hdc server listen config\n"
133 " tmode port [port] - Reboot the device, listening on TCP port\n"
150 " tcp:<port>\n"
187 "extconn key - Connect external device via key, TCP use ip:port(remian)\n"
188 "-S [ip:]port - Set hdc external server listen config\n"
226 int port = std::stoi(sport);
228 if ((port <= 0 || port > MAX_IP_PORT) || uv_ip4_addr(ip.c_str(), port, &addr) < 0) {
275 if (!strncmp(outCmd->parameters.c_str(), "port", portLength) &&
279 } else if (!strncmp(outCmd->parameters.c_str(), "port ", portSpaceLength)) {
280 const char *tmp = input + strlen("tmode port ");
281 // command is tmode port close
285 int port = atoi(tmp);
286 if (port > MAX_IP_PORT || port <= 0) {
287 stringError = "Incorrect port range";