开发者

how to read raw from any device ( ex. Keyboard ) in C

im wondering that i could share my keyboard device to another host by using ethernet protocol, but in order to do that, i must know how to read the 'keyboard input from port' from my 'source host', after that i have to build some /dev/ on 'remote host' by ethernet packet which contain 'keyboard input' from 'source host'.

the real question is, how to identify and read the input device on 'source host' (perh开发者_如何学运维aps in C language)?

thx in advance :-)


If you're on Linux, it already exists. Otherwise use curses or Slang.


GNU screen sounds like the straightforward answer to sharing a session.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜