Please Help!!! - CAsyncSocket::OnReceive Not Working for MicrosoftUDP Application (msocudp)

R

roshan

To Any Whom Can Answer,



Hello. I am using Microsoft's Visual C++ 6.0 UDP application (msocudp)
to retrieve packets from a device that is connected to our network.
The problem is the UDP application will not receive all the packets
from the device.

I even used Ethereal (packet sniffer) program to ensure the packets
arrive at my computer and they definitely do!

So I'm stumped as to why the OnReceive() callback function in the UDP
socket code doesn't get invoked for all the packets that arrive. For
example, for 10 packets that may be sent by the device, the UDP
application would only receive 9 packets (i.e. OnReceive() only gets
called 9 times instead of 10).



Please provide any help, if you know the answer.



Regards,



Roshan



Exeltech Software Developer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top