Searched refs:endPortArg (Results 1 – 1 of 1) sorted by relevance
117 string endPortArg{argv[1]}; in main() local125 size_t protocolDelPos = endPortArg.find(protocolDelimiter); in main()127 return usage(argv[0], "Invalid endpoint " + endPortArg); in main()129 protocol = endPortArg.substr(0, protocolDelPos); in main()133 return usage(argv[0], "Invalid endpoint " + endPortArg); in main()135 isInet = (endPortArg.find(tcpProtocol) != std::string::npos); in main()137 size_t portDelPos = endPortArg.rfind(':'); in main()139 return usage(argv[0], "Invalid endpoint " + endPortArg); in main()141 host = endPortArg.substr(protocolDelPos + protocolDelimiter.size(), in main()143 port = endPortArg.substr(portDelPos + 1); in main()[all …]