Skip to main content

Crate ipcez

Crate ipcez 

Source
Expand description

IPC helpers with automatic detection of OS and local vs remote target.

This library exposes behavior (detection functions and result types) and keeps implementation details in separate modules.

Structs§

Socket
Shared socket returned by socket_init. Use send_message() to send messages and message_handler() to handle incoming messages.

Enums§

DetectionError
Error when resolving endpoint from environment (e.g. os or target unset/invalid).
OsDetectionError
Error when detecting OS from the os environment variable.
OsKind
Detected operating system from the environment.
SocketError
Error from connecting or using a socket.
TargetDetectionError
Error when detecting target from the target environment variable.
TargetKind
Whether the process to communicate with is local or on a remote server.

Functions§

socket_init
Initializes a socket connection using a single endpoint string. No transport-specific knowledge required.