Files
BlitzNext/_release/help/commands/2d_commands/TCPTimeOuts.htm
T

41 lines
1.2 KiB
HTML
Raw Normal View History

2014-02-26 16:08:39 +13:00
<html>
<head>
2014-12-08 12:43:20 +13:00
<title>Blitz3D Docs</title>
<link rel=stylesheet href=../css/commands.css type=text/css>
2014-02-26 16:08:39 +13:00
</head>
<body>
2014-12-08 12:43:20 +13:00
<h1>TCPTimeouts read_millis,accept_millis</h1>
<h1>Parameters</h1>
<table>
<tr>
<td>
read_millis - milliseconds value
<br />
2014-02-26 16:08:39 +13:00
accept_millis - milliseconds value
2014-12-08 12:43:20 +13:00
</td>
2014-02-26 16:08:39 +13:00
</tr>
2014-12-08 12:43:20 +13:00
</table>
<h1>Description</h1>
<table>
<tr>
<td>
read_millis allows you to control how long reading data into a TCP stream can take before causing an error. By default, this is set to 10,000 (10 seconds). This means that if data takes longer than 10 seconds to arrive, an error occurs and the stream can not be used any more.
2014-02-26 16:08:39 +13:00
<br />
2014-12-08 12:43:20 +13:00
2014-02-26 16:08:39 +13:00
<br />
2014-12-08 12:43:20 +13:00
accept_millis allows you to control how the AcceptTCPStream() function will wait for a new connection. By default, this value is 0, so AcceptTCPStream() will return immediately if there is no new connection available.
</td>
</tr>
</table>
<h1><a href=../2d_examples/TCPTimeouts.bb>Example</a></h1>
<table>
2014-02-26 16:08:39 +13:00
<tr>
2014-12-08 12:43:20 +13:00
<td>
2014-02-26 16:08:39 +13:00
None.
2014-12-08 12:43:20 +13:00
<br />
</td>
</tr>
2014-02-26 16:08:39 +13:00
</table>