TCPTimeOuts.htm 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <html>
  2. <head>
  3. <title>Blitz3D Docs</title>
  4. <link rel=stylesheet href=../css/commands.css type=text/css>
  5. </head>
  6. <body>
  7. <h1>TCPTimeouts read_millis,accept_millis</h1>
  8. <h1>Parameters</h1>
  9. <table>
  10. <tr>
  11. <td>
  12. read_millis - milliseconds value <br />
  13. accept_millis - milliseconds value
  14. </td>
  15. </tr>
  16. </table>
  17. <h1>Description</h1>
  18. <table>
  19. <tr>
  20. <td>
  21. 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. <br />
  22. <br />
  23. 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.
  24. </td>
  25. </tr>
  26. </table>
  27. <h1><a href=../2d_examples/TCPTimeouts.bb>Example</a></h1>
  28. <table>
  29. <tr>
  30. <td>
  31. None. <br />
  32. </td>
  33. </tr>
  34. </table>
  35. <br>
  36. <a target=_top href=../index.htm>Index</a><br>
  37. <br>
  38. Click <a href=http://www.blitzbasic.co.nz/b3ddocs/command.php?name=TCPTimeouts&ref=comments target=_blank>here</a> to view the latest version of this page online</body>
  39. </html>