ReceivedFin (Socket function)

From m204wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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