参考:
1. https://www.cnblogs.com/annie00/p/6038418.html
2. http://www.thinkphp.cn/topic/5023.html
3. https://www.cnblogs.com/lmaster/p/6364055.html
4. https://segmentfault.com/a/1190000003707728
一、手机APP(客户端)程序接口
这里采用在PC上使用C++程序模拟HTTP协议数据的POST
#include <iostream>
#include <fstream>
#include <cstdlib>
#include <cstring>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/types.h>
#include <unistd.h>
using namespace std;
#define DEST_IP "10.209.177.22"
#define DEST_PORT 80
#defin