7475767778798081828384
FDSet rdset = newFDSet(); FD_ZERO(rdset); FD_SET(fd, rdset); TimeVal tout = new TimeVal(); tout.tv_sec = 10; byte buffer[] = new byte[1024]; while (l > 0) {