4th and last assignment is out

This time you have to write a simple “wrapper” code to allow the use of an interactive command-line program through a socket connection. While this can be achieved by piping your command to nc or sock commands, you are required to do this by yourself in Java language.

A brief explanation on how you can launch an external program and access its input and output is provided. You have till May 26th, 2010.

A sample implementation is provided too, but please note it won’t work in a Windows computer (unless /usr/bin/bc command is found on your system).


Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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: