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

Update:
There is been already one submission.

3 comments:

Unknown said...

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.

misan said...

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.

Alex Salom said...

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