|
|
| version 1.9, 2015/08/20 22:16:47 | version 1.12, 2016/03/31 21:46:20 |
|---|---|
| Line 1 | Line 1 |
| /** @file | /** @file |
| Parser: @b inet parser class. | Parser: @b inet parser class. |
| Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com) | Copyright (c) 2001-2015 Art. Lebedev Studio (http://www.artlebedev.com) |
| Author: Alexandr Petrosian <paf@design.ru>(http://paf.design.ru) | Author: Alexandr Petrosian <paf@design.ru>(http://paf.design.ru) |
| */ | */ |
| Line 10 | Line 10 |
| #include "pa_vtable.h" | #include "pa_vtable.h" |
| #ifdef _MSC_VER | #ifdef _MSC_VER |
| #include "winsock2.h" | |
| #include "ws2tcpip.h" | #include "ws2tcpip.h" |
| #endif | #endif |
| Line 22 public: | Line 23 public: |
| // global variables | // global variables |
| DECLARE_CLASS_VAR(inet, new MInet, 0); | DECLARE_CLASS_VAR(inet, new MInet); |
| static void _ntoa(Request& r, MethodParams& params){ | static void _ntoa(Request& r, MethodParams& params){ |