A crate that exposes types for Ragnarok Online server-client communication.
An example that uses the PacketHandler
to deserialize packets captured with libpcap
and print them to stdout
.
Since pcap
requires privileges to monitor your network traffic, the compiled example needs them as well.
The easiest way is to not use cargo run
and instead build with
cargo build --example pcap --features unicode
And then run the resulting binary in target/debug/examples/pcap
as root or admin. E.g.
sudo target/debug/examples/pcap