Click here to Skip to main content
15,889,116 members
Please Sign up or sign in to vote.
1.43/5 (3 votes)
See more:
i am trying to do ethernet communication i am sendings video frames data on the link. i am using the "send" command to send the data, but on the reciever side it is not recieving the full bytes send menas when i send 13500 bytes it just recieves 1460 bytes. buffer lengths on both sides is 123400, means i am using large enough buffer. so whats is the problem i am working in visual C 2005, using C++
Posted
Updated 22-Aug-21 4:45am

Without seeing your code is a bit difficult helping you...
 
Share this answer
 
Have you tried calling recv multiple times? It might be possible that due to frame size limit of Ethernet you are receiving first 1460 bytes then you just stop listening for them. Also check for the error returned by the recv signal, if you are using sockets then check WSAGetlasterror function. One more thing, there is a packet sniffer utility called Wireshark. Run wireshark along with your code to make sure that all the data you are sending is correctly received.
 
Share this answer
 

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