PacketSize Property
The size of the packet to send as the ping request.
Syntax
ANSI (Cross Platform) int GetPacketSize();
int SetPacketSize(int iPacketSize); Unicode (Windows) INT GetPacketSize();
INT SetPacketSize(INT iPacketSize);
@property (nonatomic,readwrite,assign,getter=packetSize,setter=setPacketSize:) int packetSize; - (int)packetSize; - (void)setPacketSize:(int)newPacketSize;
#define PID_PING_PACKETSIZE 4 IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_Ping_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_Ping_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
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.
Data Type
Integer