Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. The Lounge
  4. Client-Server: Exchange data
Forum Updated to NodeBB v4.3 + New Features

Client-Server: Exchange data

Scheduled Pinned Locked Moved The Lounge
3 Posts 2 Posters 2.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tchoninho
    wrote on last edited by
    #1

    Hi,

    I'm doubt with this question. After the server response for the client, I need to close the connection?? But, if the same client will send an other request, the new connection must be stabilized??

    Computer Scientist
    Belo Horizonte - Brasil
    C++ Development
    Qt Development

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goetz
      wrote on last edited by
      #2

      It depends on the protocol you use. Some need a permanent connection, some don't and some of the latter gain some speed on a permanent connection because the handshake overhead (and maybe login) is saved.

      You have to decide yourself.

      [Moving this to the lounge as it's not Qt related]

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tchoninho
        wrote on last edited by
        #3

        I have used Tcp (QTcpServer and QTcpSocket) in the problem related "here":http://developer.qt.nokia.com/forums/viewthread/6281.

        My server don't receive a second request which the client sent.

        Computer Scientist
        Belo Horizonte - Brasil
        C++ Development
        Qt Development

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved