Browse Source

Update README.md

NX 6 years ago
parent
commit
a73d1b2ead
1 changed files with 1 additions and 1 deletions
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -380,7 +380,7 @@ Contains a managed pointer to the host.
 
 
 `Host.EnableCompression()` enables packet-level compression.
 `Host.EnableCompression()` enables packet-level compression.
 
 
-`Host.PreventConnections(bool state)` prevents access to the host for new incoming connections.
+`Host.PreventConnections(bool state)` prevents access to the host for new incoming connections. This function makes the host completely invisible from outside, any peer that attempts to connect to it will be timed out.
 
 
 `Host.Broadcast(byte channelID, ref Packet packet, 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. Any zeroed `Peer` structure in an array will be excluded from the broadcast.
 `Host.Broadcast(byte channelID, ref Packet packet, 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. Any zeroed `Peer` structure in an array will be excluded from the broadcast.