On Friday 19 October 2001 11:28, you wrote:
> Trivial :
> fd = open("dev/irnet")
> select(fd);
> buf = read(fd);
> if(buf == "Discov")
> ...
> if(buf == "Expir")
> ...
wow. that is trivial :) is there any way to get that done without having
irnet installed - specifically using the irsock interface? maybe a getsockopt
that returns an integer event? sort of like WAITDEVICE, but blocks for either
discovery or expiry?
thanks,
Andrew Sutton
[EMAIL PROTECTED]
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda