in reply to sharing a socket between two threads (win32)
I've done almost no work involving threaded apps, and only one or two projects using sockets, but it occurs to me that you would be better off having your main program request the report from the client via the thread (i.e. always use your thread to handle the socket comms.).
|
|---|