diff --git a/ncat/ncat_connect.c b/ncat/ncat_connect.c index 0114ae70b..5fd0a86d9 100644 --- a/ncat/ncat_connect.c +++ b/ncat/ncat_connect.c @@ -489,6 +489,13 @@ int ncat_connect(void) * the use of the select-based engine. */ if (stdin_is_reg()) nsock_set_default_engine("select"); +#elif defined(WIN32) + /* -- Hack!! + * Unconditionally use the select engine on windows. + * The poll engine (WSAPoll) is currently unable to handle + * read events on stdin. + */ + nsock_set_default_engine("select"); #endif /* Create an nsock pool */