Glyn Peter

Glyn Peter

  • NA
  • 1
  • 1.7k

Stackoverflow exception???

Aug 9 2010 12:02 PM
Hi,
I have a server-client application where server sends updates about items very frequently. Sometimes, it sends 2-3 updates within a second. On client side, I have created an event which waits for these updates. For each update, GUI is updated accordingly. The problem is it works well for sometime about 1 hr and then throw Stackoverflow exception. Is there any solution to this problem? I am using a recursive call on Stock.Receive(..). Is there anyway to get rid of this, and keeps receiving updates from server without stack overflow?
Thanks

Answers (1)