Browse Source

Update README.md

Stanislav Denisov 5 years ago
parent
commit
b371d1b4b3
1 changed files with 2 additions and 0 deletions
  1. 2 0
      README.md

+ 2 - 0
README.md

@@ -412,6 +412,8 @@ Contains a managed pointer to the host.
 
 
 `Host.SetChannelLimit(int channelLimit)` limits the maximum allowed channels of future incoming connections. 
 `Host.SetChannelLimit(int channelLimit)` limits the maximum allowed channels of future incoming connections. 
 
 
+`Host.SetMaxDuplicatePeers(ushort number)` limits the maximum allowed duplicate peers from the same host and prevents connection if exceeded. By default set to `Library.maxPeers`, can't be less than one.
+
 `Host.Flush()` sends any queued packets on the specified host to its designated peers. 
 `Host.Flush()` sends any queued packets on the specified host to its designated peers. 
 
 
 #### Library
 #### Library