Connection handling
Connect the player to the server, by specifying the address and the port:
You can pass a function to the third argument, if you want to do something when the connection is established.
Example 1 (Regular function):
Example 2 (Anonymous function):
Disconnect from the server: