Browse Source

Update README.md

NX 7 years ago
parent
commit
b4ff86898d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -338,7 +338,7 @@ Contains a managed pointer to the host.
 
 `Host.PreventConnections(bool state)` prevents access to the host for new incoming connections.
 
-`Host.Broadcast(byte channelID, ref Packet packet)` queues a packet to be sent to all peers associated with the host. 
+`Host.Broadcast(byte channelID, ref Packet packet, ref Peer[] peers)` queues a packet to be sent to a range of peers or to all peers associated with the host if the optional peers parameter is not used.
 
 `Host.CheckEvents(out Event @event)` checks for any queued events on the host and dispatches one if available. Returns > 0 if an event was dispatched, 0 if no events are available, < 0 on failure.