From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-08-18 13:52:26
"Christopher Kohlhoff" <chris_at_[hidden]> wrote in message
> As discussed in the "surveying async network io libraries" thread, I'd
> like to turn asio (asio.sourceforge.net) into a proposal for a boost
> networking library.
Sound great :-)
I skimmed the docs and your tutorial seems to be very nice so far.
(the links are good)
I havn't followed the discussion, so this is just my random input.
1. I hate cryptic short names like
why not write datagram and receive?
(the other short names seems ok and quite standard)
Looking at the Daytime1 example, I wounder why
is not written
asio::ipv4::host host = host_resolver.host_by_name(argv);
3. why is everything public in a host?
4. why does both the stream_socket and the socket_connector need to
know about the demuxer? Can't the socket_connector ask the stream_socket
for its demuxer (I want to simplify usage if possible)
5. can't socket.recv() use something more highlevel than void* and size_t
Why not std::vector<char> ? (The same applies to all the interface
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk