Host.broadcast

Queues a packet to be sent to all peers associated with the host

Dirties the sent packet, meaning it cannot be changed.

class Host
void
broadcast
(,
ubyte channelID = 0
)

Parameters

packet Packet

Packet to broadcast to all associated peers

channelID ubyte

Channel to broadcast the packet on

Meta