using Poco::JSON::Object; using Poco::JSON::Array;
// ================================================= // need this library for GetAdaptersInfo in void EnvironmentImpl::nodeIdImpl(NodeId& id) #pragma comment(lib,"Iphlpapi.lib") // use poco in MFC should include this header file #include<winsvc.h>
using Poco::Net::ServerSocket; using Poco::Net::HTTPRequestHandler; using Poco::Net::HTTPRequestHandlerFactory; using Poco::Net::HTTPServer; using Poco::Net::HTTPServerRequest; using Poco::Net::HTTPServerResponse; using Poco::Net::HTTPServerParams; using Poco::StreamCopier; using Poco::Net::HTMLForm; using Poco::Timestamp; using Poco::DateTimeFormatter; using Poco::DateTimeFormat; using Poco::ThreadPool; using Poco::Util::ServerApplication; using Poco::Util::Application; using Poco::Util::Option; using Poco::Util::OptionSet; using Poco::Util::OptionCallback; using Poco::Util::HelpFormatter;