housleyjk / ws-rs

Lightweight, event-driven WebSockets for Rust.
MIT License
1.46k stars 221 forks source link

peer-to-peer example broken #147

Open CraigglesO opened 7 years ago

CraigglesO commented 7 years ago

https://github.com/housleyjk/ws-rs/blob/stable/examples/peer2peer.rs

ERROR:ws::handler: WS Error <Io(Error { repr: Os { code: 32, message: "Broken pipe" } })>

It happens as me.listen(my_addr).unwrap(); unwraps.

housleyjk commented 7 years ago

Are you on windows? When I test with the latest in linux I get these results. image

CraigglesO commented 7 years ago

Oh, lucky. OS X. But I do have a arch linux, I'll give it a go on there and get back with you.

Could just be a permissions issue with OS X.