Boost logo

Boost :

Subject: Re: [boost] [http] Formal Review
From: Vinícius dos Santos Oliveira (vini.ipsmaker_at_[hidden])
Date: 2015-08-16 13:19:37


2015-08-16 14:16 GMT-03:00 Lee Clagett <forum_at_[hidden]>:

> - 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

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk