-
Notifications
You must be signed in to change notification settings - Fork 17
NetService
Arthur Nishimoto edited this page Aug 1, 2013
·
1 revision
Connects to an omicron input server instance to receive remote events.
The events depend on the remote services active on the input server. The only change is the
service id of th event, which is substituted with the local NetService
service id.
This is done because in the local context, remote service ids have no meaning, so all events are marked as being originated from NetService
.
-
serverIP (string)
: the name or ip address of the input server (default: localhost) -
msgPort (int)
: the tcp port to use for the initial handshake and reliable message passing (default: 27000) -
dataPort (int)
: the udp port to use for general event passing (default: 7000)