R
Rof
I have an app which has to wait for messages (using port.DataReceived)
and process them when they come in. As I expect the traffic to be
heavy, I want to do this using a Backgroundworker. Can I add an
eventhandler in "DoIt" and expect the delegate to which it points to
be called in the background?
The other obvious way to do it is to continually check
port.BytesToRead, but I'm not sure that is foolproof - VS help is less
than helpful, here.
TIA,
Peter Royle
and process them when they come in. As I expect the traffic to be
heavy, I want to do this using a Backgroundworker. Can I add an
eventhandler in "DoIt" and expect the delegate to which it points to
be called in the background?
The other obvious way to do it is to continually check
port.BytesToRead, but I'm not sure that is foolproof - VS help is less
than helpful, here.
TIA,
Peter Royle