UDPSocket.SendToSelf
From Xojo Documentation
Property (As Boolean )
aUDPSocket.SendToSelf = newBooleanValue
or
BooleanValue = aUDPSocket.SendToSelf
Supported for all project types and targets.
or
BooleanValue = aUDPSocket.SendToSelf
Supported for all project types and targets.
Specifies whether the data you send out will be sent to yourself as well.
Notes
This is also known as loopback. This property applies only to multicast sends.
Setting the SendToSelf property to True may not work on all versions of Windows. MSDN states that the SendToSelf property on NT 4 cannot be turned off. A multicasting socket will always receive the data it sends out.
Example
EasyUDPSocket1.SendToSelf = True