×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jun 2007
    Posts
    50

    HTTP request vs TCP/IP links

    What is the difference between HTTP Requesting and TCP/IP linking with server. To get continuous/frequent messages from a server, which is the best method either HTTP requesting or TCP/IP links? What are the advantages of using TCP/IP linking and/or HTTP requesting?

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,686

    Re: HTTP request vs TCP/IP links

    If you are interested in Internet standards, you can search for them with Google for example: HTTP RFC and TCP RFC are the suggested queries. Wikipedia can also help.
    I would suggest TCP for the purpose you have outlined, especially if the server wants to push the data towards the client.
    Last edited by wizard_hu_; 2008-04-28 at 16:53.

  3. #3
    Registered User
    Join Date
    May 2006
    Posts
    30

    Re: HTTP request vs TCP/IP links

    HTTP is an application layer protocol built on top of TCP, which is a reliable data transport mechanism.

    Whether you use HTTP over TCP and vice versa depends on your requirements.
    One thing to remember, originally the HTTP protocol was written to be stateless, and there was no notion of a "connected" session. That's changed since pipelining was introduced to HTTP and if the server supports it, you can have connected sessions.

    TCP obviously is more light weight than HTTP, but the downside is, the communication between the client and server will need to be defined by you, e.g. you'll need to define the protocol.

    If efficiency and speed is a prime concern and you have full control over the client and server, you can write your own custom protocol over TCP for data exchange.

    However, if that's not a real necessity, you can use HTTP as the protocol of choice... applications like MSN Messenger does that already :-)

  4. #4
    Registered User
    Join Date
    Apr 2008
    Posts
    1

    Re: HTTP request vs TCP/IP links

    What are the other applications that are using this TCP for data transmission? How many concurrent connections could be made to the server, if we use this TCP linking?

  5. #5
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,686

    Re: HTTP request vs TCP/IP links

    Quote Originally Posted by mobileteam1 View Post
    What are the other applications that are using this TCP for data transmission? How many concurrent connections could be made to the server, if we use this TCP linking?
    These questions make no sense, you should rather read a book about computer networks.

Similar Threads

  1. Replies: 6
    Last Post: 2008-05-15, 07:55
  2. Replies: 1
    Last Post: 2008-02-06, 05:39
  3. S60 2nd to 3rd/ PlatformSecurity / Capabilities
    By jarkoos in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 4
    Last Post: 2007-04-14, 14:08
  4. HTTP Request Pipelining
    By shashishaw in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2006-08-25, 16:24
  5. How can i solve this error?
    By symbian-newbie in forum Symbian
    Replies: 6
    Last Post: 2006-05-23, 05:33

Posting Permissions

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