Socket (read-)timeout problem

Martin Gerhardy <[email protected]> Mon, 28 Nov 2016 11:24:39 +0000
Newsgroups gmane.comp.java.ikvm.devel
Message-ID <0598D786697B0A42AAEE93449381605340654D1B@srv024038.bigpoint.local>
--===============0963067135658480954==
Content-Language: de-DE
Content-Type: multipart/alternative;
	boundary="_000_0598D786697B0A42AAEE93449381605340654D1Bsrv024038bigpoi_"

--_000_0598D786697B0A42AAEE93449381605340654D1Bsrv024038bigpoi_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

It looks like the read timeout in java is -1 (infinity)

public class NetworkClient {
    /* Default value of read timeout, if not specified (infinity) */
    public static final int DEFAULT_READ_TIMEOUT =3D -1;

and the read timeout in ikvm/winsock/csharp is 15 seconds.

That might produce problems ;)

Regards
Martin

--_000_0598D786697B0A42AAEE93449381605340654D1Bsrv024038bigpoi_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html dir=3D"ltr">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style id=3D"owaParaStyle" type=3D"text/css">P {margin-top:0;margin-bottom:=
0;}</style>
</head>
<body ocsi=3D"0" fpstyle=3D"1">
<div style=3D"direction: ltr;font-family: Tahoma;color: #000000;font-size: =
10pt;">It looks like the read timeout in java is -1 (infinity)<br>
<br>
public class NetworkClient {<br>
&nbsp;&nbsp;&nbsp; /* Default value of read timeout, if not specified (infi=
nity) */<br>
&nbsp;&nbsp;&nbsp; public static final int DEFAULT_READ_TIMEOUT =3D -1;<br>
<br>
and the read timeout in ikvm/winsock/csharp is 15 seconds.<br>
<br>
That might produce problems ;)<br>
<br>
Regards<br>
Martin<br>
</div>
</body>
</html>

--_000_0598D786697B0A42AAEE93449381605340654D1Bsrv024038bigpoi_--


--===============0963067135658480954==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------

--===============0963067135658480954==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ikvm-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ikvm-developers

--===============0963067135658480954==--