Hi,
I am sending UDP packets to a server. I have an interesting problem that sendto sends duplicate packets. I am not able to understand why. To debug it, I also wrote to a file and found no problem there (no duplicated) but at the same time duplicate packets are being sent on network (verified by independent sniffer)
Pls help#if (DEBUG == 1)
aDebugFile.Write(aPacket);
aDebugFile.Flush();
#endif
iSocket.SendTo(aPacket, iMyServer, 0, iStatus);
User::WaitForRequest(iStatus) ;
Thanks


, could u public the core code with this problem, i think that will be useful


