GeeCON Prague 2014*
The moose likes Sockets and Internet Protocols and the fly likes whats wrong in my server code ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "whats wrong in my server code ?" Watch "whats wrong in my server code ?" New topic
Author

whats wrong in my server code ?

naved momin
Ranch Hand

Joined: Jul 03, 2011
Posts: 692

actually my client is receiving all the message from the server but client is not able to send any message to server
or i m wrong at some position in my code please correct me

my server code


my client code


The Only way to learn is ...........do!
Visit my blog http://inaved-momin.blogspot.com/
Philip Thamaravelil
Ranch Hand

Joined: Feb 09, 2006
Posts: 99
NetworkingDemo implements runnable right?

So why not do:

Thread job = new NetworkingDemo();

job.start();


That's where I would start.

Cheers,
Philip
 
GeeCON Prague 2014
 
subject: whats wrong in my server code ?