A C++ 11 library for each major platform usefull to provide standard (slightly modified … production code used by Googlebot, Google’s crawler).
Simple to use: function named ParseRobotsTxt takes robots.txt content and a class derived from RobotsParseHandler (used as interface with several pure virtual method to implement).
google/robotstxt: The repository contains Google’s robots.txt parser and matcher as a C++ library (compliant to C++11).
How to reserved adress space and allocate it when needed (using VirtualAlloc) to simulate growable shared memory: Creating a shared memory block that can grow in size | The Old New Thing
This is a C++ small cross plateform library for network prgramming: Overview | POCO C++ Libraries. Some kind of minimalist version of Boost :). There is also a good introduction on Wikipedia here.
Don’t be foolish, POCO is for POrtable COmponents.
Edited: Now POCO is available on Windows 8.1 or Windows Phone 8.1 including OSC, UDP and TCP. Thanks to MS Open Tech.
First release version of Casablanca is available here partially compatible with Ubuntu (what about Mac?).
One very important point will be it’s ability to:
- correctly stream content (I mean really stream with controled memory footprint),
- availability of flexible request/response management.
For exemple, if it’s possible to easilly respond with stream gzipped MultipartFormDataContent made of stream parts or to managed chunked requests.
Casablanca is out and is now called C++ REST SDK.
It supports Windows Vista, Windows 7 and Windows 8 (Metro ans desktop) and Linux. Windows XP is missing and i don’t know about Windows RT.
C++ REST SDK codename “Casablanca” – Home.
Text Widget Overview.
Il faudra voir ce que ça donne en Mono.