Changeset 1732 in ntrip for trunk/BNC/bncnetqueryudp.cpp


Ignore:
Timestamp:
Mar 6, 2009, 9:05:01 AM (15 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncnetqueryudp.cpp

    r1730 r1732  
    121121                      + "Host: " + _url.host().toAscii() + "\r\n"
    122122                      + "Ntrip-Version: Ntrip/2.0\r\n"
    123                       + "User-Agent: NTRIP BNC/" BNCVERSION "\r\n"
    124                       + "Connection: close\r\n"
    125                       + userAndPwd
    126                       + "\r\n";
     123                      + "User-Agent: NTRIP BNC/" BNCVERSION "\r\n";
     124    if (!gga.isEmpty()) {
     125      reqStr += "Ntrip-GGA: " + gga + "\r\n";
     126    }
     127    reqStr += userAndPwd + "Connection: close\r\n\r\n";
    127128   
    128 ////    // NMEA string to handle VRS stream
    129 ////    // --------------------------------
    130 ////    if (!gga.isEmpty()) {
    131 ////      reqStr += gga + "\r\n";
    132 ////    }
    133 
    134129    char rtpbuffer[12 + reqStr.size()];
    135130    rtpbuffer[0]  = 128;
Note: See TracChangeset for help on using the changeset viewer.