func_streams_createsocketstream.rst 612 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. .. _func_streams_createsocketstream:
  2. ==================
  3. CreateSocketStream
  4. ==================
  5. CreateSocketStream -
  6. Description
  7. ===========
  8. .. code-block:: blitzmax
  9. CreateSocketStream:TSocketStream( socket:TSocket,autoClose=True )
  10. Create a socket stream
  11. A socket stream allows you to treat a socket as if it were a stream.
  12. If @autoClose is true, @socket will be automatically closed when the socket
  13. stream is closed. Otherwise, it is up to you to somehow close @socket at
  14. a later time.
  15. Parameters
  16. ==========
  17. Return Values
  18. =============
  19. A new socket stream
  20. Examples
  21. ========
  22. See Also
  23. ========