Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QT socket programming send and recieve not working immedialtey.
Forum Updated to NodeBB v4.3 + New Features

QT socket programming send and recieve not working immedialtey.

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 754 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    drdas
    wrote on last edited by
    #1

    I have a client and server.

    whenever client write data server readyRead is being called and there i am receiving client data.

    client can send data at any time and as much.

    problem is all the data sent by client are getting buffered and at last ther server has recieved all data.

    instead what i need is, as soon as client sends, server shld recieve it which i will use and later client has to send if any.

    Please explain with a working example

    1 Reply Last reply
    0
    • A Offline
      A Offline
      ankursaxena
      wrote on last edited by
      #2

      I think u should not send all the data at a time, If it is a large amount of data.
      U should send it parts and send less data at a time. So data reaches to server , it should be written. May be it works

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved