ReceiveAsynchronous (Socket function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
Line 8: Line 8:
<tr><th>%BytesReceived</th><td>number</td></tr>
<tr><th>%BytesReceived</th><td>number</td></tr>
<tr><th>socket</th>
<tr><th>socket</th>
<td>Socket object</td></tr>
<td>A variable or an expression that is a reference to a <var>Socket</var> object.</td></tr>
<tr><th><var>Target</var></th>
<tr><th><var>Target</var></th>
<td>string</td></tr>
<td>string</td></tr>
Line 18: Line 18:
<td><var>Boolean</var> value</td></tr>
<td><var>Boolean</var> value</td></tr>
</table>
</table>
==Usage notes==
==Usage notes==
==Examples==
==Examples==

Revision as of 02:03, 15 November 2011

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