Single method for determining if contact can be made with the request peer.
Prevents loop back contact via matching identifier and currentLocalListenEndPoints.
Finally uses the DFS.AllowedPeerIPS and DFS.DisallowedPeerIPS if set.
Namespace: DistributedFileSystemAssembly: DistributedFileSystem (in DistributedFileSystem.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
Parameters
- peerIdentifier
- Type: NetworkCommsDotNet.Tools ShortGuid
The relevant network identifier
- peerEndPoint
- Type: System.Net IPEndPoint
The relevant IPEndPoint
- superPeer
- Type: System Boolean
True if this peer is a super peer
Return Value
Type: Boolean[Missing <returns> documentation for "M:DistributedFileSystem.SwarmChunkAvailability.PeerContactAllowed(NetworkCommsDotNet.Tools.ShortGuid,System.Net.IPEndPoint,System.Boolean)"]
See Also