Chat Client-server app

From: Kwabena A.
Sent on: Sunday, July 29, 2012 7:51 PM
Hi,

I managed to get the chat client-server application working and compiling properly. It is on SBT and I am not using the AKKA framework for this. I am using the Actors that come with the Scala library.

I do have a couple of issues though and a <insert refreshing beverage of your choice> for whoever can fix it for me. 

There are two apps in this SBT application. Running the will give you an option of which application you want to run. To get my concept you need to run the same SBT app in two separate terminals, choose server on one and client in the other. 
The client uses console.readLine() to capture user input so typing should and hitting return should send the message to the remote actor/server. Now this is where there is the problem below is the runtime exception I get when the message is send a message. 

Let me know what you think of it. 

Finally my github is at github.com/kaning you should find the repo there. And Pawel you can pull it into the user group github account.

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy