onConnection()

Availability:

SmartFoxServer Lite / Basic / Pro

Usage:

smartFox.onConnection(status <true/false>)

Description:

Handles the server response of a connection attempt using the connect() method.

Parameters:

status   a flag. True if connection was successfull

Returns:

nothing

Example:

on onConnection me, status
	if (status) then put("Ok! Connected.")
	else put("Ouch! Could not connect")
end

See also:

onConnectionLost()