BreakConnection

From Director Online Wiki
Jump to: navigation, search

Syntax:

 gMultiuserInstance.breakConnection(userIDString)


Description: Multiuser Server Lingo command; breaks a peer connection accepted with waitForNetconnection().


Example: This statement has the host movie break a connection with the user logged on as Spencer:

 errCode = gMultiuserInstance.breakConnection("Spencer")


See also:

 getNetErrorString(), waitForNetConnection()