easyipc

Crates.ioeasyipc
lib.rseasyipc
version0.1.0
created_at2025-01-24 07:46:09.313296+00
updated_at2025-01-24 07:46:09.313296+00
descriptionA Rust library for inter-process communication (IPC) using local sockets.
homepage
repository
max_upload_size
id1529135
size6,543
super1207 (super1207)

documentation

README

EasyIPC

EasyIPC is a Rust library for inter-process communication (IPC) using local sockets. It provides simple functions to create listeners, send and receive messages.

Installation

cargo add easyipc

Usage

Receiving Data

let listener = easyipc::ipc_create_listener("example_uid").unwrap();
let timeout = std::time::Duration::from_secs(5);
let recv_buffer =  easyipc::ipc_recv(&listener, timeout).unwrap();

Sending Data

easyipc::ipc_send("example_uid", b"Hello, world!").unwrap();

License

This project is licensed under the MIT License.

Commit count: 0

cargo fmt