Click or drag to resize

NetConst Class

Network related constants.
Inheritance Hierarchy
SystemObject
  Neon.NetNetConst

Namespace:  Neon.Net
Assembly:  Neon.Common (in Neon.Common.dll) Version: 2.4.1
Syntax
public class NetConst

The NetConst type exposes the following members.

Constructors
  NameDescription
Public methodNetConst
Initializes a new instance of the NetConst class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberDefaultMTU

The default message transmission unit that is commonly configured across the internet. This is the size in bytes of the largest packet including all of the protocol headers from OSI layers 3 and above. This does not include the data link (e.g. Ethernet) overhead.

Packets larger than this may need to be fragmented (if allowed) to be transmitted end-to-end across several connected networks.

Public fieldStatic memberICMPHeader
The size in bytes of an ICMP packet header.
Public fieldStatic memberIPHeader
The size in bytes of an IP packet header.
Public fieldStatic memberTCPHeader
The size in bytes of all headers (IP and TCP) added to a TCP packet.
Public fieldStatic memberVXLANHeader
The size of VXLAN headers in bytes. https://en.wikipedia.org/wiki/Virtual_Extensible_LAN is a protocol used in cloud and other virtualization environments to scale and separate network traffic between multiple tenants. Network traffic is empasulated in UDP packets with a header added to that identifies the virtual network. This constant specifies the header overhead in bytes.
Top
See Also