PDA

View Full Version : Major Help With Java!!


Kura_kai
08-18-2006, 03:54 AM
Ok I am currently developing a chat client and server that I am developing. I have come upon a stump and can't figure out what is going on. My code does look sloppy but it has an error somewhere. So far what I am doing is...

Run the Server program.
Run the Client Program.
Server notices the client is connecting.
Displays IP on console and Adds to the List of Clients.
Attempt to type in text into Client.
Client reconizes the text.
Displays text on console and sends to the Server.
Server never gets it...

I don't know what went wrong with the last couple of steps but I have given up and I am asking for someone to rip apart my code and see where I screwed up. Also I would be really thankfull to anyone who can sort out my code and attempt to fix any other problems and/or neaten up the coding. You don't have to do the last part but if you want to you can. It is all in the attachment zip file. AAServer contains server stuff and requires Server to run first. Hikari contains client stuff and requires Client to run first. Also please don't tell me that you can't help with school assignments. This isn't one and this is a program I am trying to make before I get my free server in the mail from my friend.

Kura_kai
08-19-2006, 01:12 AM
Any help now?