Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ IsBroadcast()

bool System.Net.Sockets.UdpClient.IsBroadcast ( IPAddress address)
inlineprivate

Definition at line 216 of file UdpClient.cs.

217 {
218 if (address.AddressFamily == AddressFamily.InterNetworkV6)
219 {
220 return false;
221 }
222 return address.Equals(IPAddress.Broadcast);
223 }

References System.Net.IPAddress.AddressFamily, System.Net.IPAddress.Broadcast, and System.Net.IPAddress.Equals().

Referenced by System.Net.Sockets.UdpClient.CheckForBroadcast().