BRL.SocketStream: Functions Modinfo Source  

Socket streams

Functions

Function CreateSocketStream:TSocketStream( socket:TSocket,autoClose=True )
ReturnsA new socket stream.
DescriptionCreate a socket stream.
InformationA socket stream allows you to treat a socket as if it were a stream.

If autoClose is true, socket will be automatically closed when the socket stream is closed. Otherwise, it is up to you to somehow close socket at a later time.

Function SocketStreamSocket:TSocket( stream:TSocketStream )
ReturnsThe socket used to create the socket stream.
DescriptionGet underlying socket from a socket stream.

Module Information

Version1.05
AuthorMark Sibly
LicenseBlitz Shared Source Code
CopyrightBlitz Research Ltd
ModserverBRL
History1.05 Release
HistoryCreateStream port handling fix documented
History1.04 Release
HistoryTSocketStream now just wraps a TSocket