Changeset 1345 in ntrip for trunk/BNC/bncgetthread.cpp


Ignore:
Timestamp:
Dec 27, 2008, 12:23:20 PM (15 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncgetthread.cpp

    r1331 r1345  
    5454#include "bncrinex.h"
    5555#include "bnczerodecoder.h"
     56#include "bncsocket.h"
    5657
    5758#include "RTCM/RTCM2Decoder.h"
     
    303304// Connect to Caster, send the Request (static)
    304305////////////////////////////////////////////////////////////////////////////
    305 QTcpSocket* bncGetThread::request(const QUrl& mountPoint,
    306                                   QByteArray& latitude, QByteArray& longitude,
    307                                   QByteArray& nmea, int timeOut,
    308                                   QString& msg) {
     306bncSocket* bncGetThread::request(const QUrl& mountPoint,
     307                                 QByteArray& latitude, QByteArray& longitude,
     308                                 QByteArray& nmea, int timeOut,
     309                                 QString& msg) {
    309310
    310311  // Connect the Socket
     
    314315  int     proxyPort = settings.value("proxyPort").toInt();
    315316 
    316   QTcpSocket* socket = new QTcpSocket();
     317  bncSocket* socket = new bncSocket(new QTcpSocket());
    317318  if ( proxyHost.isEmpty() ) {
    318319    socket->connectToHost(mountPoint.host(), mountPoint.port());
Note: See TracChangeset for help on using the changeset viewer.