Problem in initializing a socket in Thread
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Costas_Meimetis
Posted On:   Wednesday, January 12, 2005 07:45 AM

Hi,

I want to initialize a TCP socket in a thread in order not to block my swing GUI. The TCP socket is declared public in the class and is initialized succesfully inside the calling thread. The problem I face is that when I come back in the event dispatch thread the socket flags have the coresponding values:

isBind=TRUE
isConnected=TRUE
isClosed=TRUE!!!!

Any help, pointers would be highly appreciated

About | Sitemap | Contact