ReceiveAsynchronous (Socket function)

From m204wiki
Revision as of 02:03, 15 November 2011 by JAL2 (talk | contribs) (→‎Syntax terms)
Jump to navigation Jump to search

Receive zero or more bytes on this socket (Socket class)

[Introduced in Sirius Mods 7.9]


Syntax

%bytesReceived = socket:ReceiveAsynchronous( [Target=] string, - [[MaxBytes=] number], - [[Options=] string], - [Wait= boolean])

Syntax terms

%BytesReceivednumber
socket A variable or an expression that is a reference to a Socket object.
Target string
MaxBytes number
Options string
Wait Boolean value

Usage notes

Examples

See also