I am developing an application which will capture UDP packets send from a server and display it on my screen.
Socket is correctly created and i do receive some 3 to 4 packets every time and successfully display it on my screen also. Then my app crashes..
I use RecV() in blocking mode and on successful receiving of message calls back the same function after 1 ms after updating on screen.
I tried to use the same logic in non-blocking mode too with timer update every 1 ms, but it crashes as soon as it gets first message.
I tried using RecvFrom() also after i read one post in this forum, but without sucess.
Can anyone suggest a method to overcome this issue.