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

Method CloseSocket

src/network/network_udp.cpp:35–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 UDPSocket(const std::string &name) : name(name) {}
34
35 void CloseSocket()
36 {
37 this->socket->CloseSocket();
38 this->socket = nullptr;
39 }
40
41 void ReceivePackets()
42 {

Callers 1

NetworkUDPCloseFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected