Socket Services: Difference between revisions

DaniElectra (talk | contribs)
m Socket module errors: Add more result codes
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Services]]
[[Category:Services]]
The socket sysmodule has a maximum limit of 64 sockets in total.
= Socket user service "soc:U" =
= Socket user service "soc:U" =
There can be up to 18 sessions of this service.
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 130: Line 134:
|  
|  
| [[SOCU:GetResolverInfo|GetResolverInfo]]
| [[SOCU:GetResolverInfo|GetResolverInfo]]
|-
| 0x00200146
|
| [[SOCU:SendToMultiple|SendToMultiple]]
|-
|-
| 0x00210002
| 0x00210002
|  
|  
| [[SOCU:CloseSockets|CloseSockets]]
| [[SOCU:CloseSockets|CloseSockets]]
|-
| 0x00220040
|
| (int sockfd) Might be the inverse of command 0x00230040?
|-
|-
| 0x00230040
| 0x00230040
| ?
|  
| (int sockfd) Unknown.
| [[SOCU:AddGlobalSocket|AddGlobalSocket]]
|-
|-
| 0x100100C0
| 0x100100C0
Line 157: Line 169:


= Socket privileged service "soc:P" =
= Socket privileged service "soc:P" =
There can be up to 3 sessions of this service.
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 219: Line 233:
!  Error
!  Error
!  Description
!  Description
|-
| 0xC8A07004
| This is returned when trying to use a socket descriptor from a different process.
|-
| 0xC8A07009
| Network dropped connection on reset? (Translated from ENETRESET error)
|-
|-
| 0xC8A0700B
| 0xC8A0700B
Line 225: Line 245:
| 0xD860700A
| 0xD860700A
| [[SOCU:InitializeSockets]] returns this when the PID table is already full(32 processes max).
| [[SOCU:InitializeSockets]] returns this when the PID table is already full(32 processes max).
|-
| 0xD8E07006
| Not initialized. This is returned when [[SOCU:InitializeSockets]] has not been run.
|-
| 0xD8E07007
| The given socket descriptor does not exist.
|}
|}