Namespace: Steamworks

Lua
C++
Edit

BroadcastPacket

This function sends a packet of data to all other members in the specified lobby.

Syntax

Parameter Description
lobby other members of this lobby will be send the packet
data data to send
channel packet channel to use
size size of data to send
sendtype can be P2PSEND_UNRELIABLE, P2PSEND_UNRELIABLENODELAY, P2PSEND_RELIABLE, or P2PSEND_RELIABLEBUFFERED

Returns

Returns true of the packet was successfully sent. (This does not necessarily mean the packet was successfully received.)

Copyright © 2006-2025 Ultra Software.
All rights reserved.
Leadwerks 4 Documentation