Searched refs:endPortArg (Results 1 – 1 of 1) sorted by relevance
120 string endPortArg{argv[1]}; in main() local128 size_t protocolDelPos = endPortArg.find(protocolDelimiter); in main()132 protocol = endPortArg.substr(0, protocolDelPos); in main()138 isInet = (endPortArg.find(tcpProtocol) != std::string::npos); in main()140 size_t portDelPos = endPortArg.find(':', protocolDelPos + protocolDelimiter.size()); in main()142 return usage(argv[0], "Invalid tcp endpoint" + endPortArg); in main()144 host = endPortArg.substr(protocolDelPos + protocolDelimiter.size(), in main()146 port = endPortArg.substr(portDelPos + 1); in main()148 port = endPortArg.substr(protocolDelPos + protocolDelimiter.size()); in main()