This piece of documentation is quite old. Please help review it!
This documentation describes Nevrax NeL Network Services, a set of services built on the top of NeL. One service is usually one process. A service class must be or inherit from NLNET::IService. Report to NeL documents for further information.
The format of the messages that can be processed by a service are described in the documentation of the .cpp file of the service, in the detailed description of the callbacks. For example, if you want to know how to interact with the Naming Service (or rather how NLNET::CNamingClient interacts with it), read the documentation of naming_service.cpp.
NeLNS is made up of one unique login service, one or several shards (aka game servers), and a few utility services.
If needing the config file have the extention .cfg and have the same name as the exectuable name (ex: admin_service configuration file name is "admin_service.cfg")
All services inside of the shard must have NSHost and NSPort variable in the config to connect to the naming_service.
For example welcome_service.cfg must have at least:
NSHost = "hostname_of_your_machine_where_naming_service_will_run"; NSPort = 50000;
The welcome_service config must also contain the host address of the login_service
LSHost = "hostname_of_your_machine_where_login_service_will_run";
The services create/modify the following config or log files: