C# Класс Ipv6Header, Hermod

Наследование: AProtocolHeader
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Ipv6HeaderLength int

Открытые методы

Метод Описание
Create ( byte ipv6Packet, int &bytesCopied ) : Ipv6Header,

This routine creates an instance of the Ipv6Header class from a byte array that is a received IGMP packet. This is useful when a packet is received from the network and the header object needs to be constructed from those values.

GetProtocolPacketBytes ( byte payLoad ) : byte[]

Packages up the IPv6 header and the given payload into a byte array suitable for sending on a socket.

Ipv6Header ( ) : System

Simple constructor for the IPv6 header that initializes the fields to zero.

Описание методов

Create() публичный статический Метод

This routine creates an instance of the Ipv6Header class from a byte array that is a received IGMP packet. This is useful when a packet is received from the network and the header object needs to be constructed from those values.
public static Create ( byte ipv6Packet, int &bytesCopied ) : Ipv6Header,
ipv6Packet byte Byte array containing the binary IPv6 header
bytesCopied int Number of bytes used in header
Результат Ipv6Header,

GetProtocolPacketBytes() публичный Метод

Packages up the IPv6 header and the given payload into a byte array suitable for sending on a socket.
public GetProtocolPacketBytes ( byte payLoad ) : byte[]
payLoad byte Data encapsulated by the IPv6 header
Результат byte[]

Ipv6Header() публичный Метод

Simple constructor for the IPv6 header that initializes the fields to zero.
public Ipv6Header ( ) : System
Результат System

Описание свойств

Ipv6HeaderLength публичное статическое свойство

public static int Ipv6HeaderLength
Результат int