?
Solved

calculating in java udp and tcp checksum

Posted on 2006-05-08
6
Medium Priority
?
1,664 Views
Last Modified: 2012-06-27
Hi Experts.

I want to know how can I calculate in java udp and tcp checksum.

thanks

0
Comment
Question by:aquasw
6 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 16631330
0
 
LVL 92

Expert Comment

by:objects
ID: 16634636
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:aquasw
ID: 16750146
thanks for the links
I got the checksum algorithem right  and it works for udp
but.... I probably have a problem with the tcp.

Is there any example ( numeric one ) that could explain which fields are used to caculate the tcp checsum ?

thanx
0
 
LVL 92

Accepted Solution

by:
objects earned 1500 total points
ID: 16750188
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 16751625
>>but.... I probably have a problem with the tcp.

Why are you calculating this for TCP? - it has its own internal mechanisms for this
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses
Course of the Month15 days, 10 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question