Changeset 16 in ntrip for trunk/ntripserver/NtripLinuxServer.c
- Timestamp:
- Mar 21, 2005, 2:02:47 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ntripserver/NtripLinuxServer.c
r15 r16 41 41 */ 42 42 43 /* $Id: NtripLinuxServer.c,v 1. 6 2005/02/16 15:23:36stoecker Exp $43 /* $Id: NtripLinuxServer.c,v 1.7 2005/02/17 09:22:23 stoecker Exp $ 44 44 * Changes - Version 0.7 45 45 * Thu Sep 22 08:10:45 2003 actina AG <http://www.actina.de> … … 137 137 struct sockaddr_in in_addr; 138 138 struct sockaddr_in out_addr; 139 140 if(!(outhost = gethostbyname(NTRIP_CASTER))) 141 { 142 fprintf(stderr, "host %s unknown\n\n", NTRIP_CASTER); 143 } 144 else 145 { 146 memset((char *) &out_addr, 0x00, sizeof(out_addr)); 147 memcpy(&out_addr.sin_addr, outhost->h_addr, outhost->h_length); 148 } 139 149 140 150 //get and check program arguments
Note:
See TracChangeset
for help on using the changeset viewer.