Second assignment

Though you still have two weeks to turn in your first assignment, the second one is published too.

Do not worry because you have till December 20th, 2010.
This time it is a server what you have to do (a multi-threaded server). The good news is that the application protocol is very simple. After connecting to the server, the client may send one line of text containing an arithmetic expression (i.e. 1+2*3/4) and the server will respond with another text line containing the result of evaluating this expression (i.e. 2.5) or an error message if there is something wrong with the client expression.
Client will signal the server its willingness to quit by sending an empty line. Server will provide no other answer to the empty line but closing the connection.
Several clients can be using the server at the same time and all of them need to be served right away.
You can find here the mentioned on the assignment text.

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: