OpenTTD Source  20240919-master-gdf0233f4c2
host.h File Reference
#include "address.h"

Go to the source code of this file.

Functions

void NetworkFindBroadcastIPs (NetworkAddressList *broadcast)
 Find the IPv4 broadcast addresses; IPv6 uses a completely different strategy for broadcasting. More...
 

Detailed Description

Resolving of hostnames/IPs

Definition in file host.h.

Function Documentation

◆ NetworkFindBroadcastIPs()

void NetworkFindBroadcastIPs ( NetworkAddressList broadcast)

Find the IPv4 broadcast addresses; IPv6 uses a completely different strategy for broadcasting.

Parameters
broadcastthe list of broadcasts to write into.

Definition at line 86 of file host.cpp.

References Debug, NETWORK_DEFAULT_PORT, and NetworkFindBroadcastIPsInternal().