Connect to a server. Pass:
- Socket type
- Host name
- Port
- Interface Specification of the Server World
- Local World to share back to the server (if any)
Eg.
# Connect on IPv4 to 'shoenix.org' port 5822, not sharing a world
# back to the server
conn = Irmo.connect('IPV4', 'shoenix.org', 5822, ifspec, nil)
# Connect on IPv6 to 'irmoroids.foo.com' port 8719, sharing a world
# back to the server
conn = Irmo.connect('IPV6', 'irmoroids.foo.com', 8719, ifspec,
local_world)
Specify whether to use proxy methods. If true, all Object objects will be
given proxy singleton methods to access their variables, and all World
objects will be given singleton methods to invoke their methods.