PcapHandle.liveDumpEnded

int liveDumpEnded(bool sync)

Checks if the live dump has ended. (Windows only)

Parameters

syncIf non-zero, wait for the dump to end.

Returns

1 if the dump ended, 0 otherwise, or -1 on error.