Class PeerRequest
Requests a dynamic outbound mapping.
Implements
Inherited Members
Namespace: Makaretu.Nat.Pcp
Assembly: Makaretu.Nat.dll
Syntax
public class PeerRequest : MapRequest, ICloneable
Properties
| Improve this Doc View SourcePeerAddress
Remote peer's IP address.
Declaration
public IPAddress PeerAddress { get; set; }
Property Value
Type | Description |
---|---|
IPAddress | From the perspective of the local peer. |
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 SourceWrite(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
Remarks
Derived classes must override this.