Go to file
ljx0305 748394ab55 Update Timer.h (#1527)
* Update Timer.h

* Fix MinGW 4.8.2 Compilation process appears  "error: 'SOCKADDR_INET' does not name a type" error info

The error information is as follows
$ g++  -Iinclude -I/d/open_source/src/poco-1.7.7/CppUnit/include -I/d/open_source/src/poco-1.7.7/CppUnit/WinTestRunner/
include -I/d/open_source/src/poco-1.7.7/Foundation/include -I/d/open_source/src/poco-1.7.7/XML/include -I/d/open_source
/src/poco-1.7.7/JSON/include -I/d/open_source/src/poco-1.7.7/Util/include -I/d/open_source/src/poco-1.7.7/Net/include
-DPOCO_BUILD_HOST=DESKTOP-MDEE2NJ -DPOCO_TARGET_OSNAME=MinGW -DPOCO_TARGET_OSARCH=i686  -D_WIN32 -DMINGW32 -DWINVER=0x5
01 -DPOCO_NO_FPENVIRONMENT -DPCRE_STATIC -DPOCO_THREAD_STACK_SIZE -I/usr/local/include -I/usr/include  -g -D_DEBUG  -c
src/Environment.cpp -o /d/open_source/src/poco-1.7.7/Foundation/obj/MinGW/i686/debug_static/Environment.o
In file included from c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/iphlpapi.h:16:0,
                 from src/Environment_WIN32U.cpp:26,
                 from src/Environment.cpp:33:
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/netioapi.h:44:3: error: 'SOCKADDR_INET' does not name a type
   SOCKADDR_INET Address;
   ^
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/netioapi.h:56:3: error: 'SOCKADDR_INET' does not name a type
   SOCKADDR_INET Prefix;
   ^
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/netioapi.h:64:3: error: 'SOCKADDR_INET' does not name a type
   SOCKADDR_INET     NextHop;
   ^
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/netioapi.h:79:3: error: 'SOCKADDR_INET' does not name a type
   SOCKADDR_INET     Address;
   ^
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/netioapi.h:152:3: error: 'SOCKADDR_INET' does not name a type
   SOCKADDR_INET    Address;
   ^
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/netioapi.h:250:3: error: 'SOCKADDR_INET' does not name a type
   SOCKADDR_INET Source;
   ^
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/netioapi.h:251:3: error: 'SOCKADDR_INET' does not name a type
   SOCKADDR_INET Destination;
   ^
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/netioapi.h:254:3: error: 'SOCKADDR_INET' does not name a type
   SOCKADDR_INET CurrentNextHop;
   ^
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/netioapi.h:273:3: error: 'SOCKADDR_INET' does not name a type
   SOCKADDR_INET Address;
   ^
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/netioapi.h:382:9: error: 'PSOCKADDR_IN6' does not name a type
   const PSOCKADDR_IN6 SourceAddressList,
         ^
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/netioapi.h:384:9: error: 'PSOCKADDR_IN6' does not name a type
   const PSOCKADDR_IN6 DestinationAddressList,
         ^
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/netioapi.h:387:3: error: 'PSOCKADDR_IN6_PAIR' has not been declared
   PSOCKADDR_IN6_PAIR *SortedAddressPairList,
   ^
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/netioapi.h:454:9: error: 'SOCKADDR_INET' does not name a type
   const SOCKADDR_INET *SourceAddress,
         ^
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/netioapi.h:455:9: error: 'SOCKADDR_INET' does not name a type
   const SOCKADDR_INET *DestinationAddress,
         ^
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/netioapi.h:458:3: error: 'SOCKADDR_INET' has not been declared
   SOCKADDR_INET *BestSourceAddress
   ^
In file included from c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/iphlpapi.h:16:0,
                 from src/Environment_WIN32U.cpp:26,
                 from src/Environment.cpp:33:
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/netioapi.h:585:9: error: 'SOCKADDR_INET' does not name a type
   const SOCKADDR_INET *SourceAddress
         ^
In file included from src/Environment_WIN32U.cpp:26:0,
                 from src/Environment.cpp:33:
c:/Qt/4.8.7/mingw482_32/i686-w64-mingw32/include/iphlpapi.h:147:5: error: 'SOCKADDR_IN6' does not name a type
     SOCKADDR_IN6 Ipv6Address;
     ^
2017-10-07 12:55:25 -05:00
ApacheConnector C++11 support #1793 (#1795) 2017-09-20 22:13:19 -05:00
appveyor Exclude Foundation from Cygwin testsuite. 2016-03-17 21:04:00 +01:00
build add openssl version script 2017-09-29 17:46:51 -05:00
cmake Update FindMySQL.cmake (#1272) 2017-10-06 20:47:02 -05:00
contrib Moved contributed CMake modules to "cmake" folder 2012-12-16 00:40:40 -02:00
CppParser C++11 support #1793 (#1795) 2017-09-20 22:13:19 -05:00
CppUnit Added some missing inclusions (#1274) 2017-10-06 19:47:53 -05:00
Crypto Move to standard integer types #1147 2017-10-05 18:35:59 -05:00
Data fix param copy 2017-10-06 21:42:41 -05:00
doc update documentation (CMake: use embedded openssl by default #1093) 2017-10-04 11:46:03 -05:00
Foundation Update Timer.h (#1527) 2017-10-07 12:55:25 -05:00
JSON remove accidentally added files 2017-10-06 09:54:07 -05:00
MongoDB eliminate VS implicit conversion warnings 2017-10-05 18:25:08 -05:00
Net Added some missing inclusions (#1274) 2017-10-06 19:47:53 -05:00
NetSSL_OpenSSL eliminate VS implicit conversion warnings 2017-10-05 18:25:08 -05:00
NetSSL_Win eliminate VS implicit conversion warnings 2017-10-05 18:25:08 -05:00
openssl@26b1673caa Run ping with custom data size #1912 2017-09-28 11:18:45 -05:00
PageCompiler C++11 support #1793 (#1795) 2017-09-20 22:13:19 -05:00
patches/AIX new trunk (base for 1.5) 2012-04-23 01:14:34 +00:00
PDF C++11 support #1793 (#1795) 2017-09-20 22:13:19 -05:00
PocoDoc C++11 support #1793 (#1795) 2017-09-20 22:13:19 -05:00
Redis eliminate VS implicit conversion warnings 2017-10-05 18:25:08 -05:00
release remove '$Id$' headers 2017-09-09 10:50:32 +02:00
SevenZip C++11 support #1793 (#1795) 2017-09-20 22:13:19 -05:00
travis add testBigPing to ignored tests 2017-09-28 15:32:38 -05:00
Util Util Timer with OS specific priority (#1348) 2017-10-07 12:49:25 -05:00
XML eliminate VS implicit conversion warnings 2017-10-05 18:25:08 -05:00
Zip eliminate VS implicit conversion warnings 2017-10-05 18:25:08 -05:00
.gitattributes updated .gitattributes linguist settings 2016-09-21 08:31:23 +02:00
.gitignore C++11 support #1793 (#1795) 2017-09-20 22:13:19 -05:00
.gitmodules C++11 support #1793 (#1795) 2017-09-20 22:13:19 -05:00
.travis.yml C++11 support #1793 (#1795) 2017-09-20 22:13:19 -05:00
appveyor.yml Add CMake CI with implicit & explicit OpenSSL libs (#1924) 2017-10-06 09:04:05 -05:00
build_cmake.cmd Updated to run on Windows. 2015-12-08 11:35:09 +01:00
build_cmake.sh Restore 755 on shell 2016-03-09 11:38:41 +01:00
build_vcexpress2008.cmd "tests" are missing in build_vcexpress.cmd 2013-02-25 20:04:58 +09:00
build_vcexpress2010.cmd "tests" are missing in build_vcexpress.cmd 2013-02-25 20:04:58 +09:00
build_vs140.cmd updated build scripts for VS2015 2015-07-30 15:54:43 +02:00
build_vs150.cmd modified build scripts for vs150 2017-02-20 16:55:18 +01:00
build_wdexpress2012.cmd Support Visual Studio Express 2012 for Windows Desktop 2013-02-25 20:04:32 +09:00
build_wdexpress2013.cmd new build command for VS2013 Express Edition. 2014-09-07 11:42:12 +02:00
buildwin.cmd Vs140 vs150 builds (#1903) 2017-09-25 10:49:24 -05:00
buildwin.ps1 modified build scripts for vs150 2017-02-20 16:55:18 +01:00
CHANGELOG remove '$Id$' headers 2017-09-09 10:50:32 +02:00
CMakeLists.txt add internal OpenSSL option to cmake 2017-10-03 22:31:29 -05:00
components Move the FSM feature from the develop branch to the feature-fsm branch 2016-08-14 10:53:09 +02:00
configure remove '$Id$' headers 2017-09-09 10:50:32 +02:00
CONTRIBUTING.md Update CONTRIBUTING.md 2016-09-13 07:15:12 +02:00
CONTRIBUTORS Update CONTRIBUTORS 2016-02-28 15:27:37 -06:00
DLLVersion.rc bumped version of develop to 2.0 2016-03-07 06:57:52 +01:00
env.sh re-added MongoDB, improved buildwin and release scripts 2013-07-23 15:04:48 +02:00
FAQ.md Update FAQ.md 2015-05-18 20:50:10 -05:00
libversion bumped version of develop to 2.0 2016-03-07 06:57:52 +01:00
LICENSE LICENSE: add info about SPDX-License-Identifier usage and use it 2014-05-14 08:38:09 +02:00
Makefile Build parallelization issues #1730 2017-05-23 20:36:12 -05:00
NEWS remove '$Id$' headers 2017-09-09 10:50:32 +02:00
README remove '$Id$' headers 2017-09-09 10:50:32 +02:00
README.md Update README.md 2016-09-13 07:45:35 +02:00
VERSION bumped version of develop to 2.0 2016-03-07 06:57:52 +01:00

POCO C++ Libraries

Build Status

  • Travis: Travis Build Status
  • AppVeyor: AppVeyor Build Status
  • CII Best Practices

alt text

POrtable COmponents C++ Libraries are:

  • A collection of C++ class libraries, conceptually similar to the Java Class Library, the .NET Framework or Apples Cocoa.
  • Focused on solutions to frequently-encountered practical problems.
  • Focused on internet-age network-centric applications.
  • Written in efficient, modern, 100% ANSI/ISO Standard C++.
  • Based on and complementing the C++ Standard Library/STL.
  • Highly portable and available on many different platforms.
  • Open Source, licensed under the Boost Software License.

To start using POCO, see the Guided Tour and Getting Started documents.


POCO has an active user and contributing community, please visit our web site, forum and blog. Answers to POCO-related questions can also be found on Stack Overflow.

Please see CONTRIBUTING for submitting contributions, bugs reports, feature requests or security issues.


In regards to Boost, in spite of some functional overlapping, POCO is best thought of as a Boost complement (rather than replacement). Side-by-side use of Boost and POCO is a very common occurrence.

When contributing to POCO, please adhere to our guidelines.

All text file line endings in the repository must be Unix-style (LF). This includes Visual Studio project and solution files (.sln, .vcproj, .vcxproj, .vcxproj.filters).