Click here to Skip to main content
15,881,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,
I design one udp application in which application can receive infinite data from server and store that in text file,but problem is that packets are shown in wire shark with checksum but not received in application side. So my question is recvfrom api in vc++ reject that packets or some extra parameters should initialise before bind socket to application?
Posted
Comments
Richard MacCutchan 22-Oct-13 3:19am    
Is the checksum part of the actual data sent by the server?
Venkat Raghvan 22-Oct-13 4:48am    
yes!and so that packets are rejected by api?
Richard MacCutchan 22-Oct-13 5:30am    
That makes no sense, the send and receive functions transmit the data "as is", without adding or removing anything. you need to look more closely at your code.

1 solution

I would suggest you read http://msdn.microsoft.com/en-us/library/windows/desktop/ms740120(v=vs.85).aspx[^], with particular reference to the handling of UDP messages.
 
Share this answer
 
Comments
Venkat Raghvan 22-Oct-13 7:06am    
ok,thanks for your help!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900