Awesome q2a theme
0 votes

Got the total length as 28 Bytes but how do I decide whether its going from client to server or vice versa? (I think header checksum would decide but don't know how)

ago in Computer Networks by (143 points) | 12 views
You will have to decode the source and destination ports (1st 16 bits, 2nd 16 bits). Then see if either of them is a 'known/reserved' port number

If the destination port is 'known' - then the packet is going from client to server.
If the source port is 'known' - then the packet is going from server to client.

How to remember these port numbers, and which port numbers are important - I do not know.
0- 1023 are well known Port numbers, So is it that destination or source port no should be within this?

Please log in or register to answer this question.

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
Welcome to GATE CSE Doubts, where you can ask questions and receive answers from other members of the community.
Top Users Jan 2020
  1. shashin

    1163 Points

  2. Vimal Patel

    306 Points

  3. Deepakk Poonia (Dee)

    305 Points

  4. Debapaul

    237 Points

  5. Satbir

    192 Points

  6. SuvasishDutta

    137 Points

  7. Pratyush Priyam Kuan

    118 Points

  8. tp21

    108 Points

  9. pranay562

    95 Points

  10. DukeThunders

    94 Points

Monthly Top User and those within 60% of his/her points will get a share of monthly revenue of GO subject to a minimum payout of Rs. 500. Current monthly budget for Top Users is Rs. 75.
2,983 questions
1,509 answers
89,814 users