Computer Hope

Internet & Networking => Networking => Topic started by: sipungora on September 29, 2008, 10:30:48 AM

Title: Client-Server communication
Post by: sipungora on September 29, 2008, 10:30:48 AM
Hi all,

I have local n:1 client-server communication. It's running sometime ok and then hangs. The same byte-type messages are sent. flush() is applied after writeByte() method. DataInputStream is used.

One side (server) has sent a request, another one hasn't got it. Why can this happens? OR How can I find it? The method which sends requests is synchronized.

Thanks beforehand,
regards, sipungora.