Questions tagged [qlocalsocket]

QLocalSocket is a class in Qt framework to create local sockets mostly used for IPC.

QLocalSocket is a class in Qt framework to create local sockets mostly used for IPC. In Microsoft Windows implementation of Qt, this class is currently based on named pipes. See QLocalSocket for more information about this class.

35 questions
0
votes
1 answer

Memory leakage in QLocalServer/QLocalSocket

I have some problem in using QLocalServer/QLocalSocket. I'm sending raw pixel data from server to client, and there is a huge memory leakage while process. but I couldn't know what is the reason... Memory increases about 20MB/1sec (when I checked…
Seungsoo Kim
  • 53
  • 1
  • 7
0
votes
1 answer

How can i clear QLocalSocket?

I've a problem in clearing the QLocalSocket. Now I'm sending & receiving the image data through QLocalServer/QLocalSocket. But in receiving program, memory increases heavily because of piled image data in memory. so, I want to clean up the socket…
Seungsoo Kim
  • 53
  • 1
  • 7
0
votes
1 answer

QLocalServer emits readyRead when bytes are not available

I'm trying to start QLocalServer in my local OSX 10.11. I have client which tries connection to server in loop: int connect(const char* filename) { int sock; struct sockaddr_un serv_addr; memset(&serv_addr, 0x00, sizeof(serv_addr)); …
fhdnsYa
  • 443
  • 1
  • 6
  • 15
0
votes
1 answer

Detecting QLocalSocket closing

So I have 2 QT applications, one runs a QLocalServer and listens for a connection. Upon the other application (the client) connection it initializes a QLocalSocket. On the client side I just connect to the server. Is there any way for the client to…
0
votes
1 answer

QLocalSocket doesn't send anything

well, i'm still trying to get a IPC running through a QLocalSocket. Obviously my socket connects, the connection gets accepted, but when i try to send something void ServiceConnector::send_MessageToServer(QString message) { if(!connected){ …
Mr.Manhattan
  • 5,315
  • 3
  • 22
  • 34
1 2
3