Results 1 to 3 of 3

Thread: Handling all requests from same tcp client in server side

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Handling all requests from same tcp client in server side

    What exactly do you mean by "the same client"? Do you mean all requests from the same connection or all requests from any connection qualified by some id ("client id") or something else? Currently your code associates clients to socket numbers they are using which is very unlikely to be what you want as socket numbers are assigned randomly to connections.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  2. #2
    Join Date
    Mar 2010
    Posts
    11
    Thanked 3 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Handling all requests from same tcp client in server side

    Thanks for your reply.

    I solved the problem. It was my mistake. I was making use of Qt's fortune client example for testing my server.It was making a new connection when ever a new request is send. Actually I wanted all requests from same connection to be handled by a particular client. Thanks once again.

Similar Threads

  1. Interception of GET requests to the server
    By artkor in forum Newbie
    Replies: 4
    Last Post: 29th September 2010, 08:59
  2. Retrieve Host Name at Server Side
    By hkaraoguz84 in forum Qt Programming
    Replies: 0
    Last Post: 24th August 2010, 15:02
  3. Webkit and Client Side Storage
    By bythos in forum Qt Programming
    Replies: 2
    Last Post: 23rd June 2010, 14:37
  4. server-side app CGI Programming.
    By jcr in forum Newbie
    Replies: 0
    Last Post: 15th January 2009, 10:37
  5. Client side password management
    By frikkasoft in forum Qt Programming
    Replies: 2
    Last Post: 12th December 2008, 10:23

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
  •  
Qt is a trademark of The Qt Company.