- Timestamp:
- Sep 15, 2013, 11:08:33 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/monitor/thriftclient.cpp
r5452 r5467 36 36 void t_thriftClient::run() { 37 37 38 string host = "rtnet.rtcm-ntrip.org"; 39 int port = 7777; 40 41 shared_ptr<TSocket> socket(new TSocket(host, port)); 38 shared_ptr<TSocket> socket(new TSocket(_host, _port)); 42 39 shared_ptr<TTransport> transport(new TBufferedTransport(socket)); 43 40 shared_ptr<TProtocol> protocol(new TBinaryProtocol(transport));
Note:
See TracChangeset
for help on using the changeset viewer.