Results 1 to 7 of 7

Thread: client-server how?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2006
    Posts
    8
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    1

    Default Re: client-server how?

    I'm facing a problem ... i have made the same application but i keep getting the string from the server 2 times when reading from the client even if i send it only once...... i have got some clue saying that i have to clear socket ..... but how >??
    sudeepdua

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts

    Default Re: client-server how?

    Quote Originally Posted by sudeepdua View Post
    I'm facing a problem ... i have made the same application but i keep getting the string from the server 2 times when reading from the client even if i send it only once...... i have got some clue saying that i have to clear socket ..... but how >??
    Sounds like a problem of the buffering technique. Check out the example mentioned in my previous post. It uses QBuffer to handle all transmission data.
    J-P Nurmi

Similar Threads

  1. Fix: QT app won't run under Oracle Standard Client install
    By GreyGeek in forum General Discussion
    Replies: 0
    Last Post: 12th May 2006, 18:20
  2. How do I keep the client connection open ?
    By probine in forum Newbie
    Replies: 2
    Last Post: 25th March 2006, 19:06
  3. The server cannot write to the client. Why?
    By probine in forum Newbie
    Replies: 12
    Last Post: 24th March 2006, 17:14
  4. Asynchronous server msg vs synchronous functions
    By nouknouk in forum Qt Programming
    Replies: 9
    Last Post: 2nd February 2006, 17:10
  5. synching client readings to server output
    By OnionRingOfDoom in forum Qt Programming
    Replies: 14
    Last Post: 28th January 2006, 18:15

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.