aspose 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply 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: 675

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: 92
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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: whats wrong in my server code ?
 
Similar Threads
threads concurrency problem
How to Change the File Name for Each Uploaded Files to the Socket Server?
How to communicate between one server and multiple clients
socket not accepting data 2nd time
why thread is in running or runnable state why it is not terminated ?