Files
git/compat
Johannes Sixt f48ce084de MinGW: Make git native protocol work.
As it turns out, the things returned by Winsock2's socket() are handles
that can be passed to ReadFile()/WriteFile() - almost. The way this works
is by wrapping those handles into file descriptors with _open_osfhandle().
But it turns out that the sockets created by the plain socket() function
are prepared for "overlapped" I/O, which confuses ReadFile()/WriteFile().
Therefore, a reimplementation is provided that uses WSASocket() to
explicitly asks for non-overlapped sockets.

Special thanks got to H. Peter Anvin, who provided the necessary clues.
2007-02-02 16:03:07 +01:00
..
2007-01-19 16:24:48 +01:00
2007-01-19 16:24:48 +01:00
2006-12-20 13:45:55 -08:00
2007-02-02 16:03:07 +01:00
2006-12-24 00:29:43 -08:00