Results 1 to 3 of 3

Thread: How do I keep the client connection open ?

  1. #1
    Join Date
    Jan 2006
    Posts
    185
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default How do I keep the client connection open ?

    I have a server that listens for incoming connections from clients. The server writes a message to a client (telnet) and after writing the message, the server closes the connection with the client.

    I want this connection to be open. The only time the connection should be closed is when the client closes the telnet application.

    How do I keep the server connection with the clients open ?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How do I keep the client connection open ?

    Connections don't close by themselves. There must be something with your code.

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How do I keep the client connection open ?


Similar Threads

  1. Replies: 7
    Last Post: 5th January 2009, 08:27
  2. connection is not open
    By emental86 in forum Qt Programming
    Replies: 3
    Last Post: 1st December 2008, 22:04
  3. How to open user´s e-mail client
    By Althor in forum Newbie
    Replies: 2
    Last Post: 23rd October 2008, 09:39
  4. Client/Server Error: BadIDChoice
    By 3nc31 in forum Qt Programming
    Replies: 5
    Last Post: 27th November 2007, 10:22
  5. Replies: 6
    Last Post: 18th April 2007, 15:04

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.