np3

8
Nachos 3 Practice Carlos Andrés Galindo García Esteban Sifuentes Samaniego Erick Esquivel Treviño

Upload: juan-manuel-sifuentes

Post on 13-Aug-2015

93 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Np3

Nachos 3 Practice

Carlos Andrés Galindo GarcíaEsteban Sifuentes SamaniegoErick Esquivel Treviño

Page 2: Np3

Files for this assigment

nettest.cc .- network test routines

post.h, post.cc .- a post office abstraction, built in software on top of the network.

Network.h, network.cc, emulation of the physical network hardware. The network interface is similar to that of the console, except that the transmission unit is a packet rather than a character.The network provides ordered, unreliable transmission of limited size packets between nodes.

Page 3: Np3

Nachos Code Post.h

Page 4: Np3

Nachos code Post.cc

Page 5: Np3

Testing Network in nachos

• Witho ./nachos -m 0 -o 1 &

• Ando ./nachos -m 1 -o 0 &

Page 6: Np3

Sockets    server- client

 

Part of code Client

Part of code Server

Page 7: Np3

Screen-capture  Output

Page 8: Np3

Encryption Code