• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Client Sockets...

 
Sathish Babu Adluru Subas
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi javacs,
In my client app,i've created all the Socket,I/O Streams, Object I/O streams,etc in the class's constructor and iam able to read/write Objects from/to the server. but iam not able to read/write objects from/to the server from another method of the same class.(ie)iam not able to get hold of the socket in the class's method though all the variables are global to the class.
well,what might be the prob? help me please...
 
paul wheaton
Trailboss
Pie
Posts: 21390
Firefox Browser IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you provide us with a SHORT code example?
 
Sathish Babu Adluru Subas
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well,i solved the prob myself by using threads.thanx,anyway..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic