#include "network/gpsServerSocketInterface.h" GpsServerSocketInterface::GpsServerSocketInterface(int socket) { connect( this, SIGNAL(readyRead()), SLOT(readClient()) ); setSocket(socket); } void GpsServerSocketInterface::readClient() { QTextStream stream(this); /*! * we have received a message from a client * and we are looking for what frame is requested */ /*! * then we send the corresponding data to the client */ }