Sunteți pe pagina 1din 1

Give complete TCP sliding window session (show in tabular /graphically as discussed in class) that includes TCP flags,

sequence and ac numbers, window si!e,(length),time option, sac data(if any)" (calculate chec sum of first TCP (#$% )pac et only, rest need not to calculated)" The initial sequence number of sender (#) side is last three digits of your (student) &', The initial sequence number of receiver (() side is last three digits of your (student) &')your date of birth (only date ,%ot to include month or year) , Payload(data in TCP pac et) is calculated from *#C&& value(in decimal) of characters (including white space) in your full name"(&f you name has less than +, characters then append it with first name of your father/mother)" -e want at least +, TCP pac ets of varied si!e as per the characters in your name" (we are not concerned with actual data) The receiver side is only sending ac as there is no data from opposite side" (.## is +,//, window si!e01234 (no scaling)and #*C5 option yes) time stamp (6byte) is multiple of 6 microseconds sender side time at the time of connection setup is /+70/*. and receiver side time is /+7,,*. (given time of pac et/ac to be added to above time) pac et number )8 + 1 0 6 , 4 2 3 9 +/ ++ +1 +0 +6 +, +4 +2 +3 +9 sending time from # (in ms) /"1 , 0, ,, 3, 9, +6, +4, +9, 1/, 1+, 16, 16, 0/, 00, 0,, 03, 03, 09, 6/ receiving time at ( (in ms) /",, 6, ,",, 3"1, 9"3, +,, +4"4, +9",, 1/, 1+"1, 1,, 1,",, 0+, 06, 04, 6+, 6+, 6+, 6+ sending time from ( (in ms) /"2, 6"1, ,",, 3"6, 9"9, +,",, +4"3,+9"3, 1+, 1+"2, 14, 14",, 00, 0,, 02, 61,61, 61",, 61"3 handsha ing ta es place with in /"+ms (you may may select time stamp within given time information) and TCP termination ta e place in last pac et and completes within /"+ms (select time stamp logically) Timeout is +6ms" Give complete TCP sliding window session when (a) there is no pac et/ac loss (b) receiver side sends :&% when ac nowledging 3th pac et (c) receiver sends ac only when receives :&% from sender (d) pac et numbers 6,,,+/,+0,+4,+3 lost(not reached at receiver) (e) ac of pac et numbers ,, 9, +6 lost (f) receiver side also has data to send, payload si!e as per the logic but the using the name of player /scientist of your choice (not less than +/ pac ets) assume no pac et/ac loss ;<ample
your name is =awahar >al %ehru your student &' is 1/+/?;C,,, and your date of birth is +,aug+99, the sender side sequence %o is @,,,, receiver side initial sequence number is (,,,)+,)@,6/ your first payload si!e (comes from letter =) @26 bytes ne<t payload si!e (comes from letter a) @92 bytes so on (here +2 pac ets will be generated) (uppercase letter * 4,(decimal)(6+he<), white space 01(decimal(1/he<),lower case a92(decimal)(4+he<)

(Please discuss if any confusion/problem)

S-ar putea să vă placă și