True - didn"t tink it through.not the memory it allocates on the heap
True - didn"t tink it through.not the memory it allocates on the heap
I mesure it with the Windows task manager.
The server and the client are on different machines.
If I launch multiple connections, it doesn't take more memory (tested with 3 sequentials connections/deconnections). So, I don't think it's a memory leak, instead the 3 connections used the same memory adress... I should try to laucnh the 3 at the same time.
PS : KO for "Kilo Octet"
Huhu
My main appplication runs on the client machine.
It want's to question the server about new incoming mails.
In order to do that, i have made two small application.
The first, the main, is a GUI based one : trayicon, menus, pop-ups, timers, etc.
The second, the child, is able to communicate with the server.
The main one launch the secnd when must know the number of incoming mails.
The child one answer the main one with the output channel.
I would like the main one to give orders to the child one.
Example : re-check for mails, give me the mails senders, etc.
So does the "main" one work on the same machine as the "child"?
If so, then I don't see why you can't pass 127.0.0.1 to the socket...
Yes, the two are on the client machine.
I don't want to use Sockets to communicate with the child application, I wanted a signal/slots base communication![]()
You can't have signals/slots - they don't work accross process boundaries! You can either use an stdin/stdout communication (through QProcess) or some kind of proper IPC mechanism like a shared memory, a pipe, message queue, socket or something simmilar.
Bookmarks