SRV:RegisterService

Revision as of 07:59, 5 June 2017 by Yuriks (talk | contribs) (Add details about semantics of call)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Request

Index Word Description
0 Header code [0x00030100]
1-2 8-byte UTF-8 service name
3 Name length
4 Maximum sessions

Response

Index Word Description
0 Header code
1 Result code
3 Handle to 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.