aboutsummaryrefslogtreecommitdiffstats
path: root/common/rdr/FdOutStream.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2015-11-09 15:28:50 +0100
committerPierre Ossman <ossman@cendio.se>2015-11-09 15:28:50 +0100
commit7835815c1c32cdccfa74fb10ad25de4956bdc939 (patch)
treeb4e505ca1e26dc360d3bcbcc70e3f1e78eb920d8 /common/rdr/FdOutStream.cxx
parent9c181baf3c648e95a150c76eebd7ae5b5633c578 (diff)
downloadtigervnc-7835815c1c32cdccfa74fb10ad25de4956bdc939.tar.gz
tigervnc-7835815c1c32cdccfa74fb10ad25de4956bdc939.zip
Remove old Windows CE code
Diffstat (limited to 'common/rdr/FdOutStream.cxx')
-rw-r--r--common/rdr/FdOutStream.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/common/rdr/FdOutStream.cxx b/common/rdr/FdOutStream.cxx
index 75131a64..f4299030 100644
--- a/common/rdr/FdOutStream.cxx
+++ b/common/rdr/FdOutStream.cxx
@@ -198,16 +198,7 @@ int FdOutStream::writeWithTimeout(const void* data, int length, int timeoutms)
FD_ZERO(&fds);
FD_SET(fd, &fds);
-#ifdef _WIN32_WCE
- // NB: This fixes a broken Winsock2 select() behaviour. select()
- // never returns for non-blocking sockets, unless they're already
- // ready to be written to...
- u_long zero = 0; ioctlsocket(fd, FIONBIO, &zero);
-#endif
n = select(fd+1, 0, &fds, 0, tvp);
-#ifdef _WIN32_WCE
- u_long one = 0; ioctlsocket(fd, FIONBIO, &one);
-#endif
} while (n < 0 && errno == EINTR);
if (n < 0) throw SystemException("select",errno);