Logo Search packages:      
Sourcecode: qt4-x11 version File versions

src_network_socket_qlocalsocket_unix.cpp

//! [0]
socket->connectToServer("market");
if (socket->waitForConnected(1000))
    qDebug("Connected!");
//! [0]


//! [1]
socket->disconnectFromServer();
if (socket->waitForDisconnected(1000))
    qDebug("Disconnected!");
//! [1]

Generated by  Doxygen 1.6.0   Back to index