Why we r not using tcp instead of http

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • maheswaran
    New Member
    • Mar 2007
    • 190

    #1

    Why we r not using tcp instead of http

    Hi I have a basic doubt.

    Why we are not using tcp instead of http?

    for example http://www.yahoo.com to tcp://www.yahoo.com

    What is the difference and usage both of this?
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    This question has nothing to do with PHP, so I will move it to the Misc forum.

    In the meantime google some for 'HTTP' and you will find many articles regarding this subject.

    moderator

    Comment

    • JosAH
      Recognized Expert MVP
      • Mar 2007
      • 11453

      #3
      Originally posted by maheswaran
      Hi I have a basic doubt.

      Why we are not using tcp instead of http?

      for example http://www.yahoo.com to tcp://www.yahoo.com

      What is the difference and usage both of this?
      TCP and TCP/IP are just transportation and internet layers while HTTP is an
      application layer and relies on the TCP/IP layer.

      kind regards,

      Jos

      Comment

      • Atli
        Recognized Expert Expert
        • Nov 2006
        • 5062

        #4
        Yep, these are two completely different things.

        According to wikipedia, the HTTP protocol would be a part of the Application Layer of the TCP/IP model, while the TCP protocol is a part of the Transport Layer...

        The table in that link makes so much more sense :P

        Comment

        Working...