First assignment

I’ve published the first assignment on our file repository. If lazy, just click on this entry title.

You have till Nov 20th, 2009 to turn it in. Remember that while optional, assignments will count to your final mark.

Those from foreign universities can use a programming language different than Java.

I’m providing you a sample server binary that, hopefully, will work. You can run it by typing

java SmtpServer

There is been already one submission.



  1. Posted October 16, 2009 at 11:01 am | Permalink | Reply

    If you want to interactively test your application, I am pretty sure you can use telnet to emulate the client:

    telnet localhost 25000

    Each line you type during the telnet session will be sent to the server application.

  2. Posted October 16, 2009 at 11:18 am | Permalink | Reply

    Andrew is absolutely correct.

    You just need to remember what messages is the client supposed to send (HELO, MAIL FROM, RCPT TO, DATA, QUIT) and you can then see the answers your server code is giving to each command.

    It can be useful for debugging, and you all have telnet already installed on your system.

  3. Posted November 7, 2009 at 1:50 am | Permalink | Reply

    Troubles installing Wireshark under Mac OS X? Read this!
    While installing, I was getting a big error just at the startup of Wireshark and I solved it by
    giving reading permissions to everyone on /etc/bpf*
    This can be done using the Terminal and typing sudo chmod go+r /dev/bpf*

    However this has to be done eveytime the computer starts. In order to avoid this you can download this directory and place it in /Library/StartupItems

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: