November 27, 2011


NachOS 3 Practical Presentation

This is our practical presentation, it contents Networking in nachOS and a program of sockets and encryption (out of NachOS).




Highlights of Client code (encryption) program

//First, you need to install the library libpurelibc1 to create sockets, you can find it in Ubuntu Software Center.

Including libraries ...






Creating sockets and connecting with Server...






Encrypting string ...




Highlights of Server code (encryption) program


Declarations ...



Socket creation and connection





Decrypting String




Reading, decrypting, and printing String ...




Links to some tutorials and the encryption code :



Encryption - decryption code


That's all, leave your comments...

2 comments:

  1. Same question to you: What arpa/inet.h library works for?

    ReplyDelete
  2. Agrego +1 por contenido extra en el blog. Contesta a estos cuates.

    ReplyDelete