UDPSocket.BroadcastAddress

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Read-Only Property (As String )
StringValue = aUDPSocket.BroadcastAddress

Supported for all project types and targets.

The machine's broadcast address.

Notes

You can specify this address when you call the Write method and the data will be broadcast across the network, but you will not receive the data you sent back.

Example

This example uses the BroadcastAddress to get the address of the group.

EasyUDPSocket1.Write(EasyUDPSocket1.BroadcastAddress, "Hello World")