server client communication
Posted on 2003-02-26
i'm relatively new with java so don't be suprised if i ask stupid questions ;)
I'm working on a multi-user chat application that i'm making for a school project.
I already succeeded in making a connection with the server and exchange messages between that server and that client.
However when trying to write some code so that a client can receive messages from other clients too (not only from server or himself) i got stuck :(
the code i have written isn't complete to do this job but should be step 1
It all compiles very well, but when running i get some exception errors.... :(
I would be very greatfull if someone would take a quick look at my code and give me a solution or correction for the error
For experienced programmers this should only take 5 minutes i think.
And i wouldn't be asking this if i wasn't searching for this over a period of more then 2 weeks, i just can't find the answer myself, I need help :)
You can find the code on this hotmail-adres: email@example.com
In the email you will also find compiling instructions
Btw you should adjust hostname (look in dos for your hostname =>ipconfig /all) in code (not by typing it in)
I used port: 4444
If you have any questions email me : firstname.lastname@example.org
NO SPAM PLEASE
Thanks in advance dudes,