开发者

Encryption SERVER using FIFO

开发者 https://www.devze.com 2023-01-11 22:24 出处:网络
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.

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. :)

0

精彩评论

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