J
Jan Liße
Hi all,
I have a background network (in a seperate class) thread running that runs
only once and
waits for a tcp-connection, and finally should return a socket-object of the
connection. I have two
questions: what is the best way to return the socket-object and how can i
signalize or test that the
network-thread is finished with its work? At the moment i try within my
gui-class:
(while thread.isAlive)
{
textfield.setText = "Please wait for connection...";
}
But my textfield isnt updated and my gui-window hangs up too...
Thanks in advance,
Jan
I have a background network (in a seperate class) thread running that runs
only once and
waits for a tcp-connection, and finally should return a socket-object of the
connection. I have two
questions: what is the best way to return the socket-object and how can i
signalize or test that the
network-thread is finished with its work? At the moment i try within my
gui-class:
(while thread.isAlive)
{
textfield.setText = "Please wait for connection...";
}
But my textfield isnt updated and my gui-window hangs up too...
Thanks in advance,
Jan