packetSize (property)

The size of the packet to send as the ping request.

Syntax

@property (nonatomic,readwrite,assign,getter=packetSize,setter=setPacketSize:) int packetSize;
- (int)packetSize;
- (void)setPacketSize:(int)newPacketSize;
public var packetSize: Int32 {
  get {...}
set {...} }

Default Value

64

Remarks

This property allows you to control the size of the data packet sent in the PingHost 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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 iOS Edition - Version 20.0 [Build 8307]