ReceivedFin (Socket function)

From m204wiki
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