Lines Matching refs:host
725 static int ConnectRemote(RNBRemote *remote, const char *host, int port, in ConnectRemote() argument
735 if (remote->Comm().Connect(host, port) != rnb_success) { in ConnectRemote()
736 DNBLogThreaded("Failed to reverse connect to %s:%i.\n", host, port); in ConnectRemote()
742 host ? host : "127.0.0.1"); in ConnectRemote()
744 if (remote->Comm().Listen(host, port, PortWasBoundCallbackUnixSocket, in ConnectRemote()
750 if (remote->Comm().Listen(host, port, PortWasBoundCallbackNamedPipe, in ConnectRemote()
1358 std::string host; in main() local
1372 host = host_specifier.substr(0, colon_location); in main()
1379 if (host.front() == '[' && host.back() == ']') in main()
1380 host = host.substr(1, host.size() - 2); in main()
1381 DNBLogDebug("host = '%s' port = %i", host.c_str(), port); in main()
1386 host = "127.0.0.1"; in main()
1387 DNBLogDebug("host = '%s' port = %i", host.c_str(), port); in main()
1498 if (!ConnectRemote(remote, host.c_str(), port, reverse_connect, in main()
1600 if (!ConnectRemote(remote, host.c_str(), port, reverse_connect, in main()
1629 if (!ConnectRemote(remote, host.c_str(), port, reverse_connect, in main()
1667 if (!ConnectRemote(remote, host.c_str(), port, reverse_connect, in main()