throw new PcapNativeException(errbuf.toString());
}
if (timeoutMillis == 0 && Platform.isSolaris()) {
// disable buffering
timeval to = new timeval();
to.tv_sec = new NativeLong(0);
to.tv_usec = new NativeLong(0);
int rc = PcapLibrary.INSTANCE.strioctl(
NativeMappings.getFdFromPcapT(handle),
NativeMappings.SBIOCSTIME,
to.size(),
to.getPointer()
);
if (rc < 0) {
throw new PcapNativeException(
"SBIOCSTIME: "