Re: simple q on IP address and port number



On Mar 24, 12:53 am, ibupro...@xxxxxxxxxxxxxxxxxxxxxx (Moe Trin)
wrote:
On 23 Mar 2007, in the Usenet newsgroup comp.os.linux.networking, in article

<1174644586.339950.214...@xxxxxxxxxxxxxxxxxxxxxxxxxxx>, dew wrote:
Can anyone tell me whether theSourceport(eg., 8080,etc) ,destport
are in decimal format.And how many bits does it take up.There can be
65535 ports.so 16 bits am i right?

It's a 16 bitnumber. How you represent 16 bits is up to you. Most
people speak in decimal, but theprotocolrepresents it as a binary.
See the appropriate specification

0768 User DatagramProtocol. J. Postel. August 1980. (Format: TXT=5896
bytes) (Also STD0006) (Status: STANDARD)

0793 Transmission ControlProtocol. J. Postel. September 1981.
(Format: TXT=172710 bytes) (Updated by RFC3168) (Also STD0007)
(Status: STANDARD)

Remember that any service _MIGHT_ use anyportnumber. There exists anumberof "well-known"portnumbers where you can expect to find a
service, but just because something is usingport$FOO does NOT mean that
it must be service $BAR. Seehttp://www.iana.org/assignments/port-numbers

Also, the tcp,ip,udp,other protocols have aprotocolnumber.So, that
is represented by how many bits?

See RFC0791 section 3.1 - or read your textbook. For a list of those
protocols seehttp://www.iana.org/assignments/protocol-numbers

0791 InternetProtocol. J. Postel. September 1981. (Format: TXT=97779
bytes) (Obsoletes RFC0760) (Updated by RFC1349) (Also STD0005)
(Status: STANDARD)

You can find the RFCs using the search engine you are posting from.

Old guy

ok thanks and
Oh, and please stop posting the same article to multiple groups. You
are acting like a spammer when you do so.

sorry abt that

.



Relevant Pages

  • Re: May 77 Battle
    ... > I know its 3 years prior, but IMVHO the 10/74 Dew from the original GD Movie ... > has always been the standard. ...
    (rec.music.gdead)
  • Re: "Offenes" SMTP-Relay mal anders
    ... Standard hin, Standard her - ich komme eher von der Web-Ecke und dort ... HTML und Ableger werden nicht von der IETF/IANA behandelt, ... Die meisten RFCs wurden geschrieben, ... sowie §1004 Abs. ...
    (de.comp.security.misc)
  • Re: META: how-to ruin a perfectly good FGS
    ... search engine is friendlier to special characters. ... It lists the ... Windows is the defacto "standard" operating system for most PCs ...
    (soc.genealogy.methods)
  • "Standard" Full Text Search Engine
    ... is there something like a standard full text search engine? ... one of those but more that is python friendly in terms of the API it ... WSGI is _the_ thing to refer to when doing ...
    (comp.lang.python)
  • Re: YES!!!!!!!!!!!!!!Ascended...guy who needed help with amulet and air plane!!!!!
    ... >> in RFCs that defined Usenet from the beginning. ... >Take a look at RFC1036 ("Standard for Interchange of USENET Messages") ... >It's the best standard we have, so it's worth using, but the few RFCs ... >> signature convention as part of MIME, ...
    (rec.games.roguelike.nethack)