+2004-02-09 Ralf Habacker <ralf.habacker@freenet.de>
+
+ * fhandler_socket.cc (fhandler_socket::ioctl): Add FIONREAD handling.
+
2004-02-08 Christopher Faylor <cgf@redhat.com>
* debug.h (console_printf): Define for non-debugging condition.
*(int *) p ? "started" : "cancelled");
set_async (*(int *) p);
break;
+ case FIONREAD:
+ res = ioctlsocket (get_socket (), FIONREAD, (unsigned long *) p);
+ if (res == SOCKET_ERROR)
+ set_winsock_errno ();
+ break;
default:
/* We must cancel WSAAsyncSelect (if any) before setting socket to
* blocking mode