Project 2 TCP for Minet - PowerPoint PPT Presentation

1 / 6
About This Presentation
Title:

Project 2 TCP for Minet

Description:

Check out the latest minet-netclass-w08 - cvs -d /home/zzh321/CVS_MINET co minet-netclass-w08 ... export PATH=/home/your netid/minet-netclass-w08:$PATH ... – PowerPoint PPT presentation

Number of Views:37
Avg rating:3.0/5.0
Slides: 7
Provided by: ashish9
Category:
Tags: tcp | checkout | minet | project

less

Transcript and Presenter's Notes

Title: Project 2 TCP for Minet


1
Project 2TCP for Minet
  • EECS 340
  • Feb 2008

2
Setting up environment
  • Check out the latest minet-netclass-w08
  • - cvs -d /home/zzh321/CVS_MINET co
    minet-netclass-w08
  • - Rebuild your project
  • touch .dependencies
  • make clean
  • make depend
  • make project2

3
More
  • Edit setup.sh
  • - export PATH/home/your netid/minet-netclass-
    w08PATH
  • - use an IP number from the IP range
    assigned to your group
  • export MINET_IPADDR10.10.5.2

4
More
  • Edit device_driver.sh
  • - On the last line, replace "driver2.sh" with
    "device_driver2"
  • - Now you can run ./go.sh(Be sure source
    setup.sh first). This should open two windows on
    your display app and tcp_module. Close it with
    ./stop.sh.

5
More
  • You can test your tcp_module by running
    tcp_server.
  • - You can run the tcp_server provided on your
    host and then use nc (netcat) from another
    machine to talk to it.

6
More
  • To make your work easier, first please read the
    code udp_module.cc.
  • We already give you the source code for
    processing socket and timeout event. Please also
    read them first. If you find bugs, feel free to
    contact me. Also we have provided sample code to
    construct a packet.
  • Recommend to use C STL
Write a Comment
User Comments (0)
About PowerShow.com