Commit 3af0855a authored by saeed's avatar saeed
Browse files

getobs modification

parent ecd4da2a
......@@ -16,7 +16,7 @@ int main(int argc,char *argv[])
int portno = 80;
char *host = "oceandata.smhi.se";
//char message[] = "GET /ssh/viken/OBSERVATION?from=2017100100&too=2018032000 HTTP/1.1\r\nHost: oceandata.smhi.se\r\nConnection:close\r\n\r\n";
char message[] = "GET /ssh/viken/OBSERVATION?from=2017010100&too=2018032000 HTTP/1.0\r\nHost: oceandata.smhi.se\r\n\r\n";
char message[] = "GET /ssh/goteborg/OBSERVATION?from=2017010100&too=2018032000 HTTP/1.0\r\nHost: oceandata.smhi.se\r\n\r\n";
int M = sizeof(message);
//printf("%s\n",message);
//printf("%d\n",M);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment