OpenTTD Source: UDPSocket Struct Reference

OpenTTD Source 12.2

Public Member Functions | Data Fields
UDPSocket Struct Reference

Some information about a socket, which exists before the actual socket has been created to provide locking and the likes. More...

## Public Member Functions
| UDPSocket (const std::string &name)
void | CloseSocket ()
void | ReceivePackets ()

## Data Fields
const std::string | name
| The name of the socket.
NetworkUDPSocketHandler * | socket
| The actual socket, which may be nullptr when not initialized yet.

## Detailed Description

Some information about a socket, which exists before the actual socket has been created to provide locking and the likes.

Definition at line 39 of file network_udp.cpp.

The documentation for this struct was generated from the following file:

- src/network/network_udp.cpp