MCPcopy Create free account
hub / github.com/Panzerschrek/Chasm-Reverse / ConnectCommand

Method ConnectCommand

PanzerChasm/host.cpp:432–441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

430}
431
432void Host::ConnectCommand( const CommandsArguments& args )
433{
434 if( args.empty() )
435 {
436 Log::Info( "Expected server address" );
437 return;
438 }
439
440 ConnectToServer( args[0].c_str(), Net::c_default_client_tcp_port, Net::c_default_client_udp_port );
441}
442
443void Host::DisconnectCommand()
444{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected