Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mRemoteNG/PuTTYNG.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2000-10-23 14:32:37 +0400
committerSimon Tatham <anakin@pobox.com>2000-10-23 14:32:37 +0400
commitbbbda4110b960bd46f5d27c1d7107f4290b83f68 (patch)
tree263be55278450b0ce4b8de57406d10f4586468b2 /winstore.c
parent882f653081e8a8ffc2ec3f9f674692019cbe7d2e (diff)
Created a shiny new abstraction for the socket handling. Has many
advantages: - protocol modules can call sk_write() without having to worry about writes blocking, because blocking writes are handled in the abstraction layer and retried later. - `Lost connection while sending' is a thing of the past. - <winsock.h> is no longer needed in most modules, because "putty.h" doesn't have to declare `SOCKET' variables any more, only the abstracted `Socket' type. - select()-equivalent between multiple sockets will now be handled sensibly, which opens the way for things like SSH port forwarding. [originally from svn r744]
Diffstat (limited to 'winstore.c')
-rw-r--r--winstore.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/winstore.c b/winstore.c
index 51f4ee7a..55977648 100644
--- a/winstore.c
+++ b/winstore.c
@@ -4,13 +4,6 @@
*/
#include <windows.h>
-#ifndef AUTO_WINSOCK
-#ifdef WINSOCK_TWO
-#include <winsock2.h>
-#else
-#include <winsock.h>
-#endif
-#endif
#include <stdio.h>
#include "putty.h"
#include "storage.h"