eminence / udt-rs

UDT bindings for Rust
BSD 2-Clause "Simplified" License
32 stars 12 forks source link

Implement `UdtSocket#perfmon` #13

Closed dsander closed 5 years ago

dsander commented 5 years ago

This change exposes the perfmon call to the Rust UdtSocket struct.

Fixes #8

dsander commented 5 years ago

This this is probably mostly used for debugging purposes I did not convert the c_* into "native" Rust types, but I am happy do that if you think it would be cleaner.

eminence commented 5 years ago

Thanks! Looks good to me. I think it's fine to expose the native libc types. If anyone complains, we can convert them.