Changeset 326 in ntrip for trunk/rtcm3torinex
- Timestamp:
- Nov 23, 2006, 3:39:50 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/rtcm3torinex/rtcm3torinex.c ¶
r325 r326 1 1 /* 2 2 Converter for RTCM3 data to RINEX. 3 $Id: rtcm3torinex.c,v 1.1 02006/11/15 12:31:31stoecker Exp $3 $Id: rtcm3torinex.c,v 1.11 2006/11/21 08:27:35 stoecker Exp $ 4 4 Copyright (C) 2005-2006 by Dirk Stoecker <stoecker@euronik.eu> 5 5 … … 51 51 52 52 /* CVS revision and version */ 53 static char revisionstr[] = "$Revision: 1.1 0$";53 static char revisionstr[] = "$Revision: 1.11 $"; 54 54 55 55 static uint32_t CRC24(long size, const unsigned char *buf) … … 989 989 990 990 #ifndef NO_RTCM3_MAIN 991 static char datestr[] = "$Date: 2006/11/ 15 12:31:31$";991 static char datestr[] = "$Date: 2006/11/21 08:27:35 $"; 992 992 993 993 /* The string, which is send as agent in HTTP request */ … … 1154 1154 1155 1155 args->server = "www.euref-ip.net"; 1156 args->port = 80;1156 args->port = 2101; 1157 1157 args->user = ""; 1158 1158 args->password = ""; … … 1212 1212 " -s " LONG_OPT("--server ") "the server name or address\n" 1213 1213 " -p " LONG_OPT("--password ") "the login password\n" 1214 " -r " LONG_OPT("--port ") "the server port number (default 80)\n"1214 " -r " LONG_OPT("--port ") "the server port number (default 2101)\n" 1215 1215 " -u " LONG_OPT("--user ") "the user name\n" 1216 1216 "or using an URL:\n%s ntrip:mountpoint[/username[:password]][@server[:port]]\n" … … 1286 1286 if(!(he=gethostbyname(args.server))) 1287 1287 { 1288 perror("gethostbyname");1288 RTCM3Error("Function gethostbyname: %s\n", strerror(errno)); 1289 1289 exit(1); 1290 1290 } 1291 1291 if((sockfd = socket(AF_INET, SOCK_STREAM, 0)) == -1) 1292 1292 { 1293 perror("socket");1293 RTCM3Error("Function socket: %s\n", strerror(errno)); 1294 1294 exit(1); 1295 1295 } … … 1301 1301 sizeof(struct sockaddr)) == -1) 1302 1302 { 1303 perror("connect");1303 RTCM3Error("Function connect: %s\n", strerror(errno)); 1304 1304 exit(1); 1305 1305 } … … 1344 1344 if(send(sockfd, buf, (size_t)i, 0) != i) 1345 1345 { 1346 perror("send");1346 RTCM3Error("Function send: %s\n", strerror(errno)); 1347 1347 exit(1); 1348 1348 }
Note:
See TracChangeset
for help on using the changeset viewer.