Encryption SERVER using FIFO
A code that must have one server and five clients. Ten fifos and a pair of fifo for each client to communicat with the server. The client sends a file name (it has some contents which is stored on the disc) the server reads开发者_JAVA百科 the contents and encrypts the contents using XOR with 'a' and sends back to the client. The client then reads the contents and stores on the disc.
Sounds like a fun little project. If this is entirely new to you, I suggest checking out a copy of Advanced Programming in the Unix Environment, 2nd Edition. It's an excellent book that covers systems programming in fantastic depth. (It's also very excellently written -- I imagine everyone could enjoy it, whether or not they care about programming. It's just that good. :)
精彩评论