Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 1 of 1

Thread: Checksum in UDP datagramSocket

  1. #1
    Junior Member
    Join Date
    Feb 2013
    Thanked 0 Times in 0 Posts

    Default Checksum in UDP datagramSocket

    Hi everybody,
    I know that the header UDP has an optional checksum field that use a pseudo-header, the UDP header and the data field of the datagram.
    When I use the class datagramSocket it is guaranteed that packet delivered are error-free or I have to add a personal checksum in the data field?

    Thank you
    Last edited by Norm; February 7th, 2013 at 11:47 AM. Reason: Moved to Networking section

Similar Threads

  1. Streaming using UDP
    By frestix in forum What's Wrong With My Code?
    Replies: 5
    Last Post: February 28th, 2019, 01:51 PM
  2. Send file via DatagramSocket
    By ToshX in forum Java Networking
    Replies: 1
    Last Post: December 2nd, 2011, 03:13 PM
  3. Calculating checksum when appending to GZIP stream
    By giorashc in forum File I/O & Other I/O Streams
    Replies: 0
    Last Post: August 4th, 2011, 05:11 AM
  4. TCP Over UDP
    By azarakhsh in forum Java Networking
    Replies: 3
    Last Post: July 15th, 2009, 07:21 AM