func_network_socketaccept.rst 473 B

1234567891011121314151617181920212223242526272829303132333435
  1. .. _func_network_socketaccept:
  2. ============
  3. SocketAccept
  4. ============
  5. SocketAccept -
  6. Description
  7. ===========
  8. .. code-block:: blitzmax
  9. SocketAccept:TSocket( socket:TSocket,timeout=0 )
  10. Accept new connections on a listening socket
  11. The specified socket must be a TCP socket, and must be listening.
  12. Parameters
  13. ==========
  14. Return Values
  15. =============
  16. A new socket, or Null if no connection was made in the specified timeout
  17. Examples
  18. ========
  19. See Also
  20. ========