- Timestamp:
- 03/12/10 08:55:45 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/SkyQualityMonitor/sqm.cpp
r163 r179 34 34 // Start server and request configuration data 35 35 EvidenceServer Srv(SERVER_NAME); 36 char *Address = Srv.GetConfig( SERVER_NAME "address");37 unsigned int Port = atoi(Srv.GetConfig( SERVER_NAME "port"));36 char *Address = Srv.GetConfig("address"); 37 unsigned int Port = atoi(Srv.GetConfig("port")); 38 38 39 39 // Open socket descriptor … … 69 69 while(!Srv.ExitRequest) { 70 70 // Request measurement period 71 Period = atoi(Srv.GetConfig( SERVER_NAME "period"));71 Period = atoi(Srv.GetConfig("period")); 72 72 73 73 // Write read command to socket
Note:
See TracChangeset
for help on using the changeset viewer.