1,333 views

2 Answers

Best answer
6 6 votes

UDP is a message oriented protocol whereas TCP is a byte oriented protocol . Hence TCP transfers a contiguous stream of bytes. TCP assigns a sequence number to each byte transmitted . The receiving TCP uses the sequence numbers to rearrange the segments when they arrive out of order . 

Good read ==>  http://ssfnet.org/Exchange/tcp/tcpTutorialNotes.html

TCP has a sequence number field of 32 bits and hence with each byte , it assigns sequence number (0 to 232 - 1) to uniquely identify each byte sent and received . So, as the sequence number clock count starts from 0 and goes upto 232 - 1, then it wraps around and again starts from 0 . Hence,  total time taken by sequence number clock to count from 0 to 232 -1 and then reversing back to 0 is called wrap around time .

A). TCP utilizes the full bandwidth = 40 gbps and each byte getting one sequence number ,so,

wrap around time = 232  B / (40/8) GBps = 0.858993 sec = 859 msec.

B). Now, an added time stamp field increments 1000 times every 859 msec .

So, 1 time in every 859 usec.

Also, 32 bit time stamp will count from (0 to 232 -1 ).

Hence , time taken by timestamp field to wrap will be ==> 232 X 859 usec ==>

3.68 X 1012 usec .

selected by
0 0 votes

a))

Total Seq in TCP header=32 bit

Total byte=2^32 byte

1 byte take=1/5x10^9 sec

Then 2^32 will take=2^32/5x10^9=0.86 sec

Image result for tcp header format

Position:
Show:

Related questions

1 1 vote
2 2 answers
797
797 views
asu asked Jul 11, 2016
797 views
WHY DO YOU THINK FRAGMENTATION IS ABANDONED IN IPV6
0 0 votes
0 0 answers
388
388 views
asu asked Jul 11, 2016
388 views
1 1 vote
1 1 answer
76
76 views
ADIL_DYER asked Jul 7
76 views
The initial value of ssthresh is set to arbitarily high value; so sender can keep on increasing its cwnd, But wont that clash with the rwnd eventually ?So is it correct ...
1 1 vote
1 answers 1 answer
177
177 views
Akash t asked Jun 4
177 views
True /False -Transport layer protocols like TCP, UDP and Network layer protocol like IP, ICMP, RARP can be distinguished by protocol field of IP protocol.