Show / Hide Table of Contents

Class PeerRequest

Requests a dynamic outbound mapping.

Inheritance
Object
NatMessage
Message
Request
MapRequest
PeerRequest
Implements
ICloneable
Inherited Members
MapRequest.Nonce
MapRequest.Protocol
MapRequest.InternalPort
MapRequest.SuggestedExternalPort
MapRequest.SuggestedExternalAdddress
MapRequest.Read(NatReader)
Request.RequestedLifetime
Request.ClientAddress
Message.NonceLength
Message.Version
Message.Opcode
Message.IsResponse
Message.Create(Byte[])
Message.Create<T>(Byte[])
NatMessage.Length()
NatMessage.Clone()
NatMessage.Clone<T>()
NatMessage.ToByteArray()
NatMessage.Write(Stream)
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Makaretu.Nat.Pcp
Assembly: Makaretu.Nat.dll
Syntax
public class PeerRequest : MapRequest, ICloneable

Properties

| Improve this Doc View Source

PeerAddress

Remote peer's IP address.

Declaration
public IPAddress PeerAddress { get; set; }
Property Value
Type Description
IPAddress

From the perspective of the local peer.

| Improve this Doc View Source

PeerPort

Remote peer's port for the mapping.

Declaration
public ushort PeerPort { get; set; }
Property Value
Type Description
UInt16

Must not be zero.

Methods

| Improve this Doc View Source

Write(NatWriter)

Writes the NAT message.

Declaration
public override void Write(NatWriter writer)
Parameters
Type Name Description
NatWriter writer

The destination for the NAT message.

Overrides
MapRequest.Write(NatWriter)
Remarks

Derived classes must override this.

Implements

System.ICloneable
  • Improve this Doc
  • View Source
Back to top Generated by DocFX