.targetbcast Property


For the currently selected socket (selection is made through sock.num) specifies whether this port will be sending its outgoing UDP datagrams as link-level broadcasts.


Enum (no_yes, byte)

Value Range:

0 — NO: UDP datagrams will be sent as "normal" packets

1 — YES: UDP datagrams will be sent out as link-level broadcast packets

See Also:



This property is only relevant for UDP communications (sock.protocol = PL_SOCK_PROTOCOL_UDP). When this property is set to 1 — YES the socket will be sending out all UDP datagrams as broadcasts and incoming datagrams won't cause port switchover, even if the latter is enabled through the sock.reconmode property.