In the examples in the preceding chapters, the NetServices.as file was included to allow you to use two methods of the NetServices class: createGatewayConnection( ) and setDefaultGateway( ).
There is also a NetServices.getVersion( ) method, which returns the current version of the NetServices class. You can check the version number to maintain backward compatibility if future versions of the NetServices class contain new functionality. Several other methods are used internally as well.
The NetServices class also gives you an interface to the NetConnection class and enhances the NetConnection class to include several new methods:
getService(remoteMethod
,
responderObject
[,
arg1
,
arg2
,...])