#ifndef __INCLUDE_HTTP_LIB_H__ #define __INCLUDE_HTTP_LIB_H__ #include #include #include #include #include #include #include #include #define URL_LEN 256 //----------------------------------------------------------------- // URL の分析 int split_url(char* url,char*host,char* path,unsigned short* port); // HTTP サーバへの接続 int http_open(char* host,int port); // HTTP サーバへ受信要求 void http_request(int s,char* host,char* path,int port); #endif // __INCLUDE_HTTP_LIB_H__