![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Validation of character separated lines in a file | kolesunil | UNIX for Dummies Questions & Answers | 3 | 05-27-2008 06:48 AM |
| CSV file parsing and validation | dolo21taf | Shell Programming and Scripting | 1 | 03-06-2008 06:15 AM |
| Need help in file validation by shell script | srichakra | Shell Programming and Scripting | 1 | 07-19-2007 02:22 PM |
| validation :file <filename> | u263066 | Shell Programming and Scripting | 2 | 09-26-2006 03:59 AM |
| transfer of specific file content to another file | mem101 | Shell Programming and Scripting | 1 | 10-18-2005 02:01 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
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 |
|
|||||
|
From UDP: the User Datagram Protocol
Quote:
|
|
||||
|
The page quoted by otheus came from the book "Computer Networking - a top-down approach featuring the Internet" with Kurose as one of the authors (Addison Wesley). Consider getting yourself a copy of that one. It was the textbook for networking course in my university.
Specifically, Section 3.4 "Principles of Reliable Data Transfer" discusses the various approaches of developing reliable data transfer over an unreliable transport. That section should answer your question. |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|