File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 688

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: whats wrong in my server code ?
 
Similar Threads
How to Change the File Name for Each Uploaded Files to the Socket Server?
threads concurrency problem
socket not accepting data 2nd time
How to communicate between one server and multiple clients
why thread is in running or runnable state why it is not terminated ?