Is it possible to redirect console input/output to a handle returned by socket() ? It is possible on Linux, but is it possible on windows ?
I'm trying to develop telnet server.