No. I am completely correct.
TCP/IP would correspond to layer 4, the transport layer of the OSI model. Just as I said.

Transport means move bits from point A to B. Let's not get too whacked out on the number (layer 4 vs 5) because I think that number has changed over the years.

What the OP wants to do is to talk to some server. He needs to be able to do more, a lot more than just "move bits" from A to B.

What is required is to know what kind of messages are going to be sent. This is the how to interpret what I send and how to interpret what I receive as a client. Establishing a TCP/IP connection is just one step in the process - that's just the "get bits back and forth".

Where I am failing here is that the whole idea of "talking to the server" means that there is an even higher level of protocol.

Sorry that I'm not able to explain things better at the moment. Maybe some other Monks can help fill in the blanks.


In reply to Re^5: How to build a tcp session with a remote server? by Marshall
in thread How to build a tcp session with a remote server? by wildnature

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.