W
WAkthar
Can someone show me how to communicate between worker threads and the main
thread?
I have a client and server application that uses sockets to transmit xml
objects. Now I need to process these xml objects in the client application.
The client application uses a listen thread to listen in for incoming
messages. Once a message has arrived in the listening thread I need to
transfer this message over to the main thread for processing and ui
updating.
Firstly is there a better way?
Secondly, how can this be done?
Thanks in advance!!
thread?
I have a client and server application that uses sockets to transmit xml
objects. Now I need to process these xml objects in the client application.
The client application uses a listen thread to listen in for incoming
messages. Once a message has arrived in the listening thread I need to
transfer this message over to the main thread for processing and ui
updating.
Firstly is there a better way?
Secondly, how can this be done?
Thanks in advance!!