MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / createUdp

Function createUdp

src/OpenLoco/src/Network/Socket.cpp:616–620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

614 namespace Socket
615 {
616 std::unique_ptr<IUdpSocket> createUdp()
617 {
618 initialiseWSA();
619 return std::make_unique<UdpSocket>();
620 }
621
622 std::unique_ptr<INetworkEndpoint> resolve(Protocol protocol, const std::string& address, uint16_t port)
623 {

Callers 2

listenMethod · 0.85
connectMethod · 0.85

Calls 1

initialiseWSAFunction · 0.85

Tested by

no test coverage detected