Project

General

Profile

Up

_networkSetMode

Define the mode.

Prototype :

fun [ObjNetwork I] ObjNetwork

  • ObjNetwork : a network object created with _networkCreate.

  • I : a flag :
    • NETWORK_THREADED : the process will be done to a detached thread (value by default)
    • NETWORK_NOTHREADED : the process will be done on the same thread. In this case, Scol will wait until the end of the current performing before go to the next intruction

Return : ObjNetwork the same object or nil if error.

See also :

_networkPerform

Example :

Note :