MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / OnConnect

Method OnConnect

src/network/network_coordinator.cpp:95–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 }
94
95 void OnConnect(SOCKET s) override
96 {
97 NetworkAddress address = NetworkAddress::GetPeerAddress(s);
98 _network_coordinator_client.ConnectSuccess(this->token, s, address);
99 }
100};
101
102/** Connect to the Game Coordinator server. */

Callers

nothing calls this directly

Calls 1

ConnectSuccessMethod · 0.80

Tested by

no test coverage detected