Next Topic

Previous Topic

Book Contents

Ping

bool Ping(TLuaICMPPingResult Result,int iPacketsToSend,int iPacketSize,bool bNoFragment,int iTimeoutMs)

Return values

The function returns a TLuaICMPPingResult object containing the result of the operation.

Parameters

  • iPacketsToSend - A positive integer between 1 and 255
  • iPacketSize - Size of packets to send, a integer between 0 and
  • bNoFragment - Set to true to stop sent packets from being fragmented, function will fail and return false if option is set and packet is fragmented.
  • iTimeoutMs - Max time in ms that the function will wait for packet to be returned.

Remarks

By setting the bNoFragment argument makes it possible to test the biggest possible frame size for a route.