Browse Source

Update README.md

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

+ 2 - 0
README.md

@@ -334,6 +334,8 @@ Contains a managed pointer to the host.
 
 
 `Host.EnableCompression()` enables packet-level compression.
 `Host.EnableCompression()` enables packet-level compression.
 
 
+`Host.IgnoreConnections(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)` queues a packet to be sent to all peers associated with the host. 
 
 
 `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.
 `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.