Next Topic

Previous Topic

Book Contents

BeginTrace

bool BeginTrace(int iPacketsToSend,int iPacketSize,bool bNoFragment,int iTimeoutMs)

Return values

The function returns true if the trace was successful, or false if it failed.

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 to true it is possible to test the largest frame size for a route, adjust the iPacketSize until the function fails due to fragmentation.