SRV:RegisterService

SRV:RegisterService

Request #

WordDescription
0
0x00030100Cmd0x0003Param4Xlat0
1-28-byte UTF-8 service name
3Name length
4Maximum sessions

Response #

WordDescription
0
0x00030042Cmd0x0003Param1Xlat2
1Result code
2Descriptor for moving 1 handle
3

Handle< KServerPort> which will receive incoming connections to the service.

This function registers a new service which can be accessed using SRV:GetServiceHandle. The service manager will create a new client-server port pair, registering the client endpoint under the given name, and returning the server endpoint for the service to listen on for incoming connections.