Hello
I have programmed a virtual device under /dev that gives some information to user who reads it. It works fine, except that after there is no more data, the connection is being closed. Or at least this happens when I try to read it using cat.
Is it possible to create a virtual device that does not close the connection but instead keeps waiting until there is again data to be read?
I have programmed a virtual device under /dev that gives some information to user who reads it. It works fine, except that after there is no more data, the connection is being closed. Or at least this happens when I try to read it using cat.
Is it possible to create a virtual device that does not close the connection but instead keeps waiting until there is again data to be read?