Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nxrighthere authored Dec 25, 2018
1 parent 30dfa39 commit b4ff868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit b4ff868

Please sign in to comment.