DaveGee
Jul 21, 2008, 08:41 PM
Subject line pretty much says it all... I have a program that creates a thread and in that thread keeps an async soap connection open and gets status messages from a device on my network... it works real well until the device goes to seep at which point that async connection gets dropped... It's okay I don't mind that but I'd like to do the right thing...
in an event that fires just prior to the device going to sleep I want to close the connection properly and kill the thread I spawned...
THEN
in an even that fires just after the device wakes up I wanna build a new connection (and spin it off in its own thread)...
Does anyone know what events I need to use to do this?
Dave
in an event that fires just prior to the device going to sleep I want to close the connection properly and kill the thread I spawned...
THEN
in an even that fires just after the device wakes up I wanna build a new connection (and spin it off in its own thread)...
Does anyone know what events I need to use to do this?
Dave
