Ricardo Villamarín-Salomón
PhD candidate, Department of Computer Science, University of Pittsburgh
HomeResearchTeachingPhD ProgressLinksCS1652-Fall 2007

CS 1652 / TELCOM 2310 - Data Communication and Computer Networks

Fall 2007

Updates & Announcements
General Information
Important Guidelines


Updates & Announcements

Nov. 12, 2007 I won't be having office hours this week (Nov. 13th & 15th).

To compensate for that, I will have extra office hours during:

  • Nov 20th from 5:30-8:30pm
  • Nov 27th from 4:00pm-7:00pm

You can always reach me by email if you have any questions.

 
Oct. 23, 2007 

Please be sure your program compiles and run in UNIXS since I will compile and test them there

The base file provided in courseweb has two issues that prevent it from compiling or running in UNIXS:

  • (compilation problem) Line 254: Function exit is called without parameters. Please change
    exit();
    to
    exit(-1);
    Note: -1 is arbitrary here, you can put a different integer (obviously not zero because it will not indicate an error) if you prefer.
     
  • (runtime problem) Line 272:
    double mmm = 2147483647; /* largest int - MACHINE DEPENDENT!!!!!!!! */
    When you run the program, you will get a warning: "... random number generation on your machine is different from what this emulator expects ..."
    In this case you should assign to the variable mmm the value of RAND_MAX which seems to be different in UNIXS (at least in unixs1.cis.pitt.edu) to what the simulator is expecting. To find out the value of RAND_MAX in UNIXS you can use the following program:

    testrnd.c

    When I run it at UNIXS, the value of RAND_MAX printed is 32767, so if you get the same answer, please assign that value (or any other value that is printed by the program above) to the variable mmm (see above). This may affect the generation of random numbers but that is a limitation of UNIXS right now and I am trying to put some consistency into the work.

Please be sure that your submission contains a Makefile (as noted by Dr. Brustoloni) that allows me to compile your program. You can find a sample makefile here:

Makefile

Also, if there are special instructions that you need me to follow for you program to compile and run correctly, please let me know using a README.txt

It is recommended that for testing your program quickly without having to ask the user of the values of the simulator, you can use an input file like this:

parameter

And run your program in this way:

$ ./myprogram <parameter

I am going to test your program in that way too, but since this was not announced from the beginning, I will be flexible.

 
Oct. 04, 2007 Office Hours are cancelled today because I am attending a conference
 
Sep. 10, 2007 The annual Undergrad Welcome Pizza and Info Session will be on Wednesday at 12PM in 5317 / 5319 SENSQ

You can find more information here

 
Aug. 27, 2007 Welcome to CS1652 / TELCOM 2310!

Please be sure to read the Important Guidelines

 
   

General Information


Office Hours

  • Location: Laboratory for Computer Network Security Instruction (SENSQ 5506).
  • Tuesdays:  5:30 - 7:00 p.m.
  • Thursdays: 6:00 - 7:30 p.m.
 


Book

  • James Kurose and Keith Ross. "Computer Networking: A Top-Down Approach Featuring the Internet," 3rd ed., Addison Wesley, 2005 (ISBN 0-321-22735-2).
    Book's webpage

Important Guidelines

Communication with me

You can use Blackboard to send messages using: Communication > Messages

If you prefer to communicate with me directly by email, please follow these simple rules:

  • Any email message must be sent to rmv4 AT pitt DOT edu
     
  • The subject of your mail must have the prefix [CS1652] (so that I can easily identify you). For example:
    [CS 1652] About experiment #3
     
  • Be sure that your email client (or webmail) is using your name and not only your email address in the From field of your message. If your name is not in the From field, please include it in the message body. If I do not see your name in the email message (either in the From field or in the body) I will not answer you (sorry about that)

If you want to change the From field of your Pitt account's webmail, please do this:

  1. Login to Pitt's webmail:

    https://webmail.pitt.edu/webmail/src/login.php
      
  2. Click on Options and then on Personal Information
  3. Put your name in the field Full Name
  4. Click the button Submit