From Xojo Documentation

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

Property (As Boolean )
aUDPSocket.SendToSelf = newBooleanValue
BooleanValue = aUDPSocket.SendToSelf

Supported for all project types and targets.

Specifies whether the data you send out will be sent to yourself as well.


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.


EasyUDPSocket1.SendToSelf = True