Hi,
Michel Verbraak:
> Currently my program just reads zero bytes before doing the poll and
> this works. And it will also work on a normal file.
>
That's a reasonable workaround.
However, I would suggest that poll(...,POLLIN) signals the intent to
read from that device sufficiently clearly: starting the capture is the
Right Thing to do here, IMHO.
> unchanged to the client. If a second or third, etc.., client connects
> the read data is copied unchanged to all the clients. When the last
> client disconnects it closes the device/file/socket.
Cool. Does your program understand MPEG framing? If I was the client,
I'd hate to get some random MPEG tail fragment when I connect to your
server. :-/
--
Matthias Urlichs | {M:U} IT Design @ m-u-it.de | [EMAIL PROTECTED]
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
- -
The process of creating new scripture by constructive abuse of
the old reaches its climax in the letters ascribed to Paul.
-- Robin Lane Fox
_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel