File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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!
Visit my blog
Philip Thamaravelil
Ranch Hand

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

So why not do:

Thread job = new NetworkingDemo();


That's where I would start.

I agree. Here's the link:
subject: whats wrong in my server code ?
It's not a secret anymore!