Feature #2953 » Line4C3client.h
1 |
#pragma once |
---|---|
2 |
|
3 |
#include <string> |
4 |
#ifdef WIN32 |
5 |
#include <time.h> |
6 |
#else |
7 |
#include <sys/time.h> |
8 |
#endif |
9 |
using namespace std; |
10 |
|
11 |
class Fclient{ |
12 |
public: |
13 |
static int Sendreq(string& sendUrl, string& sendHeader, string& reqData, string& req_callback); |
14 |
static unsigned long GetTimetmp() |
15 |
{ |
16 |
unsigned long stampNow = 0; |
17 |
time_t timer; |
18 |
timer = time(NULL); |
19 |
stampNow = timer; |
20 |
return stampNow; |
21 |
} |
22 |
}; |