Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Mar 2003

    TCP/IP versus HTTP

    Hi All
    this is just a theoritical question...can anyone give me a detailed description on TCP/IP versus HTTP for nokia phones.

    You may give me differences and also in wwhich cases we use and how we use?? and how they behave????

  2. #2
    Registered User
    Join Date
    Mar 2003
    You're gonna have to read a primer on TCP/IP. The answer to your question is (and I suspect this isn't gonna help you much) ...

    HTTP is a protocol which runs over ...
    TCP which is another protocol which runs over ...
    IP which is another protocol

  3. #3
    Super Contributor
    Join Date
    Jun 2003
    Cheshire, UK
    Hi Raj,

    So far as phones are concerned, the main point is perhaps that some phones can only speak HTTP. Phones often do not run HTTP over TCP, but WDP (Wireless Datagram Protocol) used for WAP.

    TCP is a connection-oriented protocol... that is, a connection is established between client and server, and a two-way conversation can then take place. Packets of information sent have a place in that conversation, in terms of sequence... that is, if I transmit two packets of information, they are guaranteed to be delivered in the same sequence that I sent them.

    WDP (and UDP) are connectionless... packets of information have an origin and a destination, but have no relationship to one another. Two packets cannot logically be part of the same message, and there is no guarantee that they will arrive in any specific sequence.

    Think of TCP as like a phone-call, and datagrams (like UDP or WDP) as like the postal-service.

    With HTTP, a conversation consists only of one request, then one response. Although HTTP is usually transported by TCP, WAP carries it with datagrams.

    For this reason, phones like the Nokia 7210 will not support TCP socket connection, as they don't use TCP. So a 7210 can connect only to a web-server, not to (for example) an email server.

    Because of this restriction, the essential issue about which to use is one of compatibility. If you want to support the maximum number of handset models, you must use HTTP, as it is the only protocol that the MIDP specification requires.

    Is this helpful?


  4. #4
    Registered User
    Join Date
    Mar 2007

    Re: TCP/IP versus HTTP

    I found that helpful. thank you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts