• Post Reply Bookmark Topic Watch Topic
  • New Topic

Data from server is not sent to client  RSS feed

 
V. Garg
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SERVER.JAVA





Client.java




In the above program
The main problem is the client is not getting the data from server..
The connection is successfully created but still there is something wrong with the data delievery from server to client.
Please respond me...
M trying to develop a chat application

JCE: please Use Code Tags
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There may be other problems, but for starters: Don't println to a Socket
 
Mike Guze
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the client code you have to call before you call
 
V. Garg
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank You both of you repliers...
Mike Guze:- Your Suggestion has solved my problem.

Ulf Dittmer:- You have send my a very wonderfull tutorial. Thank you for such wonderfull suggestion..


Yours suggestion has really helped me....
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!