summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorhttps://www.google.com/accounts/o8/id?id=AItOawmjRGuNcPKr2jQhph5RAhn6scPXIaO4VUk <Svante@web>2014-04-30 11:39:31 +0200
committerGNU Hurd web pages engine <web-hurd@gnu.org>2014-04-30 11:39:31 +0200
commit6f3a9e514c52df573db9ff02800da789d2e3bcbe (patch)
tree3eef1cb27b466322e54e4f5def8191185374a1a1 /hurd
parentd6fa2bed6f6c41f8083123633bf328c1072941c3 (diff)
Diffstat (limited to 'hurd')
-rw-r--r--hurd/networking.mdwn16
1 files changed, 11 insertions, 5 deletions
diff --git a/hurd/networking.mdwn b/hurd/networking.mdwn
index bdf9def2..82a7a199 100644
--- a/hurd/networking.mdwn
+++ b/hurd/networking.mdwn
@@ -9,11 +9,17 @@ Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license
is included in the section entitled [[GNU Free Documentation
License|/fdl]]."]]"""]]
-For each supported `PF_*` protocol family, there is a file `/servers/socket/N`
-where `N` is the numberic value fo the `PF_*` symbol. Right now
-[[`PF_LOCAL`|translator/pflocal]] (a.k.a. `PF_UNIX`) and
-[[`PF_INET`|translator/pfinet]] (together with
-[[`PF_INET6`|translator/pfinet/ipv6]]) are supported.
+For each supported `PF_*` protocol family (domain), there is a file `/servers/socket/N`
+where `N` is the numberic value for the `PF_*` symbol. Right now
+[[`PF_LOCAL`|translator/pflocal]] (a.k.a. `PF_UNIX` or `AF_UNIX`) `N=1`,
+[[`PF_INET`|translator/pfinet]] (a.k.a `AF_INET`) `N=2` and
+[[`PF_INET6`|translator/pfinet/ipv6]] (a.k.a `AF_INET6`) `N=26` are supported.
+
+Depending on the socket domain used the libc function `_hurd_socket_server`
+is called from the calling function socket/socketpair, resolving the socket
+server to use `/hurd/pflocal` or `/hurd/pfinet`. In case of problems to find
+out which server is called rpctrace can be of use: The server is found with the
+`dir_lookup` RPC.
User programs open those files, and use the `socket_create` [[RPC]] to make a
new socket. With that socket, they can use the other `socket_*` RPCs and also