SocketTools .NET Edition

IcmpClient.PacketSize Property

Gets and sets the size of an echo datagram.

[Visual Basic]
Public Property PacketSize As Integer
[C#]
public int PacketSize {get; set;}

Property Value

An integer which specifies the size of an echo datagram in bytes.

Remarks

The PacketSize property determines the size of an ICMP echo datagram. The default packet size is 32 bytes. The minimum packet size is 1 byte and the maximum packet size is 65,535 bytes. Specifying a packet size outside of this range will result in an error. Note that packet sizes over 512 bytes may not be supported by your local networking hardware or intermediate routers.

See Also

IcmpClient Class | SocketTools Namespace