Crate fudi_rs[][src]

This crate enables the communication between Rust programs and Pure Data over a network using the FUDI protocol.

Examples

Create and send a bang to a Pure Data instance with a netreceive object listening on 127.0.0.1:5678 for UDP traffic.

let netsend = fudi_rs::NetSendUdp::new("127.0.0.1:5678");
let msg = fudi_rs::PdMessage::Bang;
netsend.send(&msg).expect("sending message failed");

References

Structs

Atom

An implementation of the (generic) atom data type.

GenericMessage

An implementation of the most generic Pure Data message type.

NetReceiveUdp

Encapsulate receiving Pure Date messages via FUDI over UDP. This is the library equivalent of the netreceive-object for UDP.

NetSendUdp

Encapsulate sending Pure Date messages via FUDI over UDP. This is the library equivalent of the netsend-object for UDP.

Enums

PdMessage

An incomplete implementation of Pure Data message types.