Results 1 to 2 of 2

Thread: QTcpsocket Problem - unable to read written data to socket

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default QTcpsocket Problem - unable to read written data to socket

    hello there ,

    I am writing an accounting open source project for my course.it is finished but by no means I can transfer data between client and server.the qdebug days the data is written to the socket but on the other side I can not read that.I put all the codes in files in the attachments.
    the code is small but is very important to me.
    even if you do not have time you can look the code and suggest a better way of writing the client/multi threaded server.
    most of the code is copied from fortune server/client.
    you can make it using qmake

    Thank you in advance
    Attached Files Attached Files

Similar Threads

  1. QTcpSocket read duplicate data, but only on "bad channel"
    By creatron in forum Qt Programming
    Replies: 1
    Last Post: 24th May 2010, 19:17
  2. Replies: 1
    Last Post: 24th March 2010, 08:15
  3. Problem in printing the data return /read from QTcpsocket
    By skumar434 in forum Qt Programming
    Replies: 3
    Last Post: 20th February 2009, 19:36
  4. Unable to read from QTcpSocket
    By jimroos in forum Qt Programming
    Replies: 1
    Last Post: 4th July 2007, 21:09
  5. Replies: 3
    Last Post: 4th July 2006, 10: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.