mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-15 05:38:18 +00:00
Manage socket_fs socket lifetime via handles
Socket_fs sockets are now created each time a 'new_socket' control file is opened, not each time a 'new_socket' file is read. When a handle on a 'new_socket' file is closed the socket and its socket files are destroyed. The accept control file on a listening socket reads "1" or reads nothing to indicate a client connection is queued. Client sockets are accepted by opening an 'accept_socket' file in the listen socket directory. This file behaves like the aforementioned 'new_socket' file. Ref #2707
This commit is contained in:
committed by
Christian Helmuth
parent
0b980073c1
commit
401ba6e7fd