| Dart Home | PowerTCP Sockets for .NET | Custom Development | Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums |
| Author | Forum: PowerTCP Sockets for .NET (Secure and Standard) Topic: Timer Problem That Seems To Be Related To The UDP Control |
| howiegoo From: Marianna, FL USA Posts: 15 Member Since: 01/09/04 |
posted January 14, 2004 12:38 PM This one has me a little confused. I have a simple messaging program that allows users to send messages to each other using UDP. When a new message arrives the user is alerted by a flashing button. When I enable the timer from within the UDP1_EndReceive event the timer becomes "enabled" but never executes it's tick event code. If I start the timer using a button on the form (as a test) it works fine. I only seem to have trouble with it if it's started out of the UDP1_EndReceive event or a sub that that event calls. Any ideas? |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted January 14, 2004 1:00 PM Hi, The asynch events fire on their own thread, not on the UI thread. Is Udp.SynchronizingObject set to the form on which the Timer resides? Thanks, -ken |
| howiegoo From: Marianna, FL USA Posts: 15 Member Since: 01/09/04 |
posted January 14, 2004 1:16 PM I'm not sure what Udp.SynchronizingObject is. Is there an example of using it in the help file? Speaking of which, is there a way to search the Online Help? When I click Search it takes me to http://msdn.microsoft.com/ which is not helpful. |
| howiegoo From: Marianna, FL USA Posts: 15 Member Since: 01/09/04 |
posted January 14, 2004 1:34 PM I found it. Thanks for the help! |
| Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|