Results 1 to 3 of 3

Thread: TCP Chat Problem

  1. #1
    Join Date
    Sep 2007
    Posts
    13
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default TCP Chat Problem

    I having problem with the Stop button. It does not properly stop the server. Everytime I stop the server and start back, the server will crash if client connect to it. p/s. I found out that if i click the stop button for i times, when client connect to the server, the slot slotNewClient will repeat for i times.

    What is the problem actually?

    *Problem Solved*
    Last edited by cooler123; 26th September 2007 at 10:33.

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

    Default Re: TCP Chat Problem

    What was the problem?

  3. #3
    Join Date
    Sep 2007
    Posts
    13
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: TCP Chat Problem

    i connect the signal newConnection everytime i start the server and without disconnect it when stop the server.

  4. The following user says thank you to cooler123 for this useful post:

    jacek (27th September 2007)

Similar Threads

  1. Graphics view display problem.
    By kiranraj in forum Qt Programming
    Replies: 3
    Last Post: 20th July 2007, 08:08
  2. [QMYSQL] connection problem
    By chaos_theory in forum Installation and Deployment
    Replies: 5
    Last Post: 2nd July 2007, 10:52
  3. Grid Layout Problem
    By Seema Rao in forum Qt Programming
    Replies: 2
    Last Post: 4th May 2006, 13:45
  4. Problem with bitBlt
    By yellowmat in forum Newbie
    Replies: 1
    Last Post: 5th April 2006, 15:08
  5. Replies: 16
    Last Post: 7th March 2006, 16:57

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.