|
|
|
|
|
by brickbrd
1468 days ago
|
|
What does "stream.write_all(&number_as_bytes).unwrap();" do if the socket buffer is full? Does it block this virtual thread running this function? Or does the stream keep buffering? or is it sending the message to some other process which is accumulating those messages. What if I don't wait this thread to block and instead do something else? I believe all of these are handled. I just cannot find sufficient documentation to understand the details of how this works. |
|