Note that there are some explanatory texts on larger screens.

plurals
  1. USKrzysztof Jackowski
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COok I understand. The thing is that I need server to send data all the time and client should send only occasionally. So I cannot write on server side in on_readyRead() method because it will execute only when client will send something. The question is where should I write data on server side? Is there any slot that I can use for this problem?
      singulars
    2. COThanks a lot for your input! I've manage to do it but right now I have another problem. My on_readyRead() is right now like this in client and server: if(socket->canReadLine()){ QByteArray ba = socket->readLine(); printf(">> %s\n", ba.constData()); char buffer[] = "server to client"; socket->write(buffer); } The problem is when I would like to send response from client to server only optionally. The app stops and waits for data from client and readyRead(). My guess is that I should move writing on server side somewhere else. What would be the best place for it?
      singulars
    3. COThe thing is that when I want to mark the streets i have to chop lines into small pieces to make curves and so on, that's why there are so many elements. Here you can see the working web application: [link](http://imageshack.us/f/194/screenshot2013052710544.png/) and here is mine on Android: [link](http://imageshack.us/f/547/screenshot2013052710544.png/) You can see that only few streets are marked and its already around 3000 lines
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload