Lines Matching defs:host
725 static int ConnectRemote(RNBRemote *remote, const char *host, int port,
735 if (remote->Comm().Connect(host, port) != rnb_success) {
736 DNBLogThreaded("Failed to reverse connect to %s:%i.\n", host, port);
742 host ? host : "127.0.0.1");
744 if (remote->Comm().Listen(host, port, PortWasBoundCallbackUnixSocket,
750 if (remote->Comm().Listen(host, port, PortWasBoundCallbackNamedPipe,
785 "Usage:\n %s host:port [program-name program-arg1 program-arg2 ...]\n",
789 RNBLogSTDERR(" %s host:port --attach=<pid>\n", DEBUGSERVER_PROGRAM_NAME);
791 RNBLogSTDERR(" %s host:port --attach=<process_name>\n",
963 // should reverse connect to the host:port
1322 std::string host;
1336 host = host_specifier.substr(0, colon_location);
1343 if (host.front() == '[' && host.back() == ']')
1344 host = host.substr(1, host.size() - 2);
1345 DNBLogDebug("host = '%s' port = %i", host.c_str(), port);
1350 host = "127.0.0.1";
1351 DNBLogDebug("host = '%s' port = %i", host.c_str(), port);
1360 // We just used the 'host:port' or the '/path/file' arg...
1462 if (!ConnectRemote(remote, host.c_str(), port, reverse_connect,
1564 if (!ConnectRemote(remote, host.c_str(), port, reverse_connect,
1593 if (!ConnectRemote(remote, host.c_str(), port, reverse_connect,
1631 if (!ConnectRemote(remote, host.c_str(), port, reverse_connect,