Expand description
this module contains all the shared IPC logic agnostic to servers and
clients. in particular, it contains the Message type and its components
and the Connection type, which abstracts away sopht’s messaging protocol
Structs§
- Connection
- structure containing the state of a connection to the sopht socket
Functions§
- create_
client_ connection - creates a
UnixStreamand attempts to build aConnectionout of it. if the stream cannot be created, this function returnsSocketError - socket_
file_ path - obtains the file path of the unix socket file on the local machine whether
it exists or not. this function can fail if the current user has no HOME
directory (
NoHomeDir)