16 Aug
2015
16 Aug
'15
5:19 p.m.
2015-08-16 14:16 GMT-03:00 Lee Clagett
- The overwhelming common case will be reading from a stream, most likely TCP, and I think the focus should be providing the best interface for this scenario (apparently you feel differently). [...] - When reading datagrams/messages, a fixed buffer allocated by the caller is a common read interface, in which case the extra data is dropped.
How does the trait implementation sounds to you? Sockets that **can** provide extra guarantees can implement the max_read trait or alike? -- VinÃcius dos Santos Oliveira https://about.me/vinipsmaker