Function read in std::net::TcpStream doesn't block
philipp-fensch opened this issue · comments
Philipp Fensch commented
calling set_nonblocking(false) on the stream returns Error with message "unable to set blocking mode".
Philipp Fensch commented
Minimal Example, that currently doesn't work in Rusty-Hermit:
Server: (Squares received numbers and sends them back)
https://github.com/philipp-fensch/tcp-server
Client:
Without Rusty-Hermit: https://github.com/philipp-fensch/tcp-client
With Rusty-Hermit: https://github.com/philipp-fensch/rusty-hermit/tree/tcp-stream
Martin Kröning commented
I identified the issue and drafted a PR (#208).