Description
Fires when the connection attempt of the connecting socket is completed.
Syntax
socket. onConnect = function () { body }