Sockets services: Difference between revisions
No edit summary |
|||
| Line 114: | Line 114: | ||
== RegisterClient == | == RegisterClient == | ||
Takes a [[#LibraryConfigData]], the PID, the size of the transfer memory and a copy-handle of the latter. | Takes a [[#LibraryConfigData]], the PID, the size of the transfer memory and a copy-handle of the latter. Returns 4-bytes of output. | ||
The transfer memory must be larger than a the computed size below. Should the transfer memory be smaller than that, the BSD sockets service would only send ZeroWindow packets (for TCP), resulting in a transfer rate not exceeding 1 byte/s. | The transfer memory must be larger than a the computed size below. Should the transfer memory be smaller than that, the BSD sockets service would only send ZeroWindow packets (for TCP), resulting in a transfer rate not exceeding 1 byte/s. | ||
| Line 177: | Line 177: | ||
== RegisterResourceStatisticsName == | == RegisterResourceStatisticsName == | ||
[10.0.0+] Now takes an additional 8-bytes of input. | [10.0.0+] Now takes an additional 8-bytes of input. | ||
== Cmd36 == | |||
Takes a PID, an input u32, an u64 pid_reserved, returns 4-bytes of output. | |||
On NX this is stubbed, just returns 0. | |||
On Ounce this is used as a new version of RegisterClient*, when initializing bsd:s/bsd:a. | |||
== Cmd39 == | == Cmd39 == | ||