X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/8d5de7770cde9b808c276bd86a0214189a8f7578..97db3be4f673508e214040881556d35f3d65406a:/raw.c diff --git a/raw.c b/raw.c index dd0f64a1..b0c8370d 100644 --- a/raw.c +++ b/raw.c @@ -1,7 +1,13 @@ #include #include #include +#ifndef AUTO_WINSOCK +#ifdef WINSOCK_TWO +#include +#else #include +#endif +#endif #include "putty.h" @@ -131,6 +137,11 @@ static char *raw_init (HWND hwnd, char *host, int port, char **realhost) { default: return "WSAAsyncSelect(): unknown error"; } + /* + * We have no pre-session phase. + */ + begin_session(); + return NULL; } @@ -232,5 +243,6 @@ Backend raw_backend = { raw_size, raw_special, raw_socket, - raw_sendok + raw_sendok, + 1 };