The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 08-19-2008
iamcollins iamcollins is offline
Registered User
  
 

Join Date: Dec 2006
Posts: 8
UDP File Transfer Validation and Checksum

Dear All

I have written a client server program for file transmission from one system to other using UDP.

Can i use the cksum number in the udp header to validate if the received packet is corrupted or not? If yes, how can i extract the header and validate it..

Also is there any way that i can call cksum in c program? Except popen("cksum","r")

Any inputs will be of great help

Thanks in advance
Collins