Results 1 to 2 of 2

Thread: How can QTcpServer read out its incoming data like QTcpSocket?

  1. #1
    Join Date
    Jan 2010
    Posts
    22
    Thanks
    5

    Default How can QTcpServer read out its incoming data like QTcpSocket?

    Hi

    I'm asking really stupid question. But it seems that QTcpServer reading data is really not so straight forward. Still I haven't figure out how to do with it. Can anyone here help me?

    I want to do the same thing on QTcpServer side as QTcpSocket does, i.e.

    qtcpSocket->read((char *) &mySocketBuffer, (qint64) mySocketBuffer_maxSize);


    Surprisingly QtcpServer has no "read" method!! How can I solve it?

    Thank you very much!

  2. #2
    Join Date
    Jan 2010
    Posts
    22
    Thanks
    5

    Default Re: How can QTcpServer read out its incoming data like QTcpSocket?


Similar Threads

  1. QTcpServer QTcpSocket problem
    By jmsbc in forum Qt Programming
    Replies: 0
    Last Post: 20th November 2009, 18:42
  2. Problem in printing the data return /read from QTcpsocket
    By skumar434 in forum Qt Programming
    Replies: 3
    Last Post: 20th February 2009, 20:36
  3. GUI Freezes unless there's incoming data
    By crisp in forum Qt Programming
    Replies: 17
    Last Post: 7th February 2009, 18:56
  4. QTcpServer & QTcpSocket questions...
    By jxmot in forum Qt Programming
    Replies: 2
    Last Post: 24th April 2008, 22:38
  5. QTcpServer limit for incoming connections
    By mdecandia in forum Qt Programming
    Replies: 9
    Last Post: 5th May 2007, 23:09

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.