2002-09-15 Adam Megacz <adam@xwt.org>
* java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
which don't work on Win32 (yet).
From-SVN: r57180
+2002-09-15 Adam Megacz <adam@xwt.org>
+
+ * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
+ which don't work on Win32 (yet).
+
2002-09-14 Adam Megacz <adam@xwt.org>
* java/net/natPlainDatagramSocket.cc: removed #include
else
throw new java::net::SocketException (JvNewStringUTF ("invalid length"));
+// FIXME: implement timeout support for Win32
+#ifndef WIN32
if (timeout > 0)
{
int flags = ::fcntl (fnum, F_GETFL);
throw new java::net::SocketTimeoutException (
JvNewStringUTF("Connect timed out"));
}
- else
+#endif
{
if (_Jv_connect (fnum, ptr, len) != 0)
goto error;