PcapHandle.isSwapped
int isSwapped()Checks if the handle uses a different byte order than the current host.
Returns
1 if the byte order is swapped, 0 otherwise, or -1 on error.
int isSwapped()Checks if the handle uses a different byte order than the current host.