C++ Qt write to unix socket
As of 2011, Qt doesn't have any support for sockets at all, since Qt's moto is cross-platforming.
If you want to use sockets in your Qt program, you should implement socket communication via standard Linux functions, socket(), connect(), etc, or implement your own class based on QAbstractSocket.