Serve socket as a client of this process's RPC server, under name. Main-process only: it is
how a renderer's MessagePort-backed connection joins the same method and event registries as the
websocket clients on port 8876. Throws rather than returning false so the caller can put the
reason in front of the client immediately instead of letting its connect attempt time out.
Serve
socketas a client of this process's RPC server, undername. Main-process only: it is how a renderer's MessagePort-backed connection joins the same method and event registries as the websocket clients on port 8876. Throws rather than returningfalseso the caller can put the reason in front of the client immediately instead of letting its connect attempt time out.