packet_size Property
The size of the packet to send as the ping request.
Syntax
def get_packet_size() -> int: ... def set_packet_size(value: int) -> None: ...
packet_size = property(get_packet_size, set_packet_size)
Default Value
64
Remarks
This property allows you to control the size of the data packet sent in the ping_host method. The default packet size is 64 bytes, with a minimum of 8 bytes (4 bytes of the ICMP header + ECHO identifier). The maximum value is 65520.