Project

General

Profile

Up

_setsocklife

A Scol virtual machine is always linked to the primary virtual machine (the Scol Engine) by a channel (see _masterchannel). The corresponding socket of this channel is the socklife. If this channel or the socklife is closed or if any error occurs, the application exits immediately. So, use this function very carefully and it should be used by very advanced developer only. Its use is rarissim.

Prototype :

fun [Chn] Chn

  • Chn : a channel

Return : Chn the same channel or nil if error

See also :

_masterchannel

Example :