aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes Client Sockets... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Client Sockets..." Watch "Client Sockets..." New topic
Author

Client Sockets...

Sathish Babu Adluru Subas
Greenhorn

Joined: Jan 19, 2000
Posts: 26
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

Joined: Dec 14, 1998
Posts: 20635
    ∞

Can you provide us with a SHORT code example?


permaculture Wood Burning Stoves 2.0 - 4-DVD set
Sathish Babu Adluru Subas
Greenhorn

Joined: Jan 19, 2000
Posts: 26
well,i solved the prob myself by using threads.thanx,anyway..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Client Sockets...