ReceivedFin (Socket function)

From m204wiki
Revision as of 16:17, 11 June 2012 by JAL2 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Test if received FIN on connection (Socket class)

[Introduced in Sirius Mods 7.9]


Syntax

%receivedFin = socket:ReceivedFin

Syntax terms

%ReceivedFinA Boolean enumeration %variable to contain a returned True or False value.
socket A variable or an expression that is a reference to a Socket object.

Usage notes

As described in the ReceiveAsynchronous "Usage notes", ReceivedFin is particularly useful if that method is called and returns a 0.

See also