20.01.2014 Views

Lectures notes for 2010 - KTH

Lectures notes for 2010 - KTH

Lectures notes for 2010 - KTH

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Tools Used: sock Program<br />

• A simple test program to generate TCP, UDP data<br />

• To test and debug TCP, UDP implementations<br />

stdin<br />

stdout<br />

• Interactive client: default<br />

• Interactive server: -s<br />

• Source client: -i<br />

• Sink server: -i -s<br />

• Default TCP, -u <strong>for</strong> UDP<br />

sock<br />

Source Code Available: (Tcpdump and sock)<br />

TCP connection<br />

UDP<br />

server<br />

For Win95/98/2000/NT: http://netgroup-serv.polito.it/windump/<br />

For BSD alike: ftp://ftp.uu.net/published/books/stevens.tcpipiv1.tar.Z<br />

Maguire Tools Used: sock Program 2: 42 of 52<br />

maguire@kth.se <strong>2010</strong>.03.21 Internetworking/Internetteknik

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!