WebSockets managed and SignalR client in Cpp

A managed implementation of WebSocket and a SignalR client implemented in cpp. This comes from Asp.net vNext effort. Cool.

Advertisements

Using .NET HttpClient to capture partial Responses

Some tricks to control how many bytes are read from TCP/IP or how to read only 1000 bytes:

Using .NET HttpClient to capture partial Responses – Rick Strahl’s Web Log.

This post discusses relations between low level TCP/IP buffering and HttpCompletionOption.ResponseHeadersRead, request.AllowReadStreamBuffering/AllowWriteStreamBuffering, using TcpClient directly and range (httpclient.DefaultRequestHeaders.Range = new RangeHeaderValue(0, size);)

Win32 API Hooking

The father Microsoft Research – Detours (Detours Professional is available but at a 12 739€ a prohibitive cost),

An article detailing used notions API Hooking with MS Detours

EasyHook starts where Microsoft Detours ends with an discussion of hooking ExtTextOut and DrawText,

API hooking revealed : in depth injection and interception technics analysis.

Beware of Method and system for dynamic interception of function calls to dynamic link libraries into a windowed operating system.