1
Answer

Stackoverflow exception???

Ask a question
Glyn Peter

Glyn Peter

14y
1.7k
1
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)