Alright, let me put it this way then.
I have a qt browser plugin (the basic trivial one). My plugin has two variables one of QLocalSocket and one of QLocalServer. Based on what the current url of a page is, one of them will be instantiated.
While instantiating the server, i do the following:
While instantiating the client i do the following:
server = new QLocalServer(this);
connect(server, SIGNAL(newConnection()), this, SLOT(handleConn()));
in my client page, after the connectToServer call, the connClient() method is called, which means the connection is established.
client = new QLocalSocket(this);
connect(client, SIGNAL(connected()), this, SLOT(connClient()));
Whereas, in my server side, the newConnection() signal doesn't seem to be emitted.
Hope this explains it better.