On Wed, Jun 17, 2009 at 7:18 PM, kshama nagaraj wrote:
> Dear all,
>
> I am using os.open to open a tun/tap device and then read data from it.
> I also need to do some other tasks apart from reading from this device. So i
> wish to have the read non blocking.
> I am opening the device in non-block
Dear all,
I am using os.open to open a tun/tap device and then read data from it.
I also need to do some other tasks apart from reading from this device. So i
wish to have the read non blocking.
I am opening the device in non-block mode using os.O_NONBLOCK .
But, if i do this, i get an error when