Boost logo

Boost :

Subject: Re: [boost] asio library
From: Daniel Pfeifer (daniel_at_[hidden])
Date: 2009-10-27 15:28:30


Am Dienstag, den 27.10.2009, 20:10 +0100 schrieb "Peter Foelsche"
<peter_foelsche_at_[hidden]>:
> "Olaf van der Spek" <olafvdspek_at_[hidden]> wrote in message
> news:b2cc26e40910271142y1edebfbqdf321627bffd1e15_at_mail.gmail.com...
>
>>>>> What is the use of the socket object created in the first line?
>>>>
>>>> Doesn't the third line use it?
>>>
>>> The point is that there must be always something following this
>>> statement --
>>> by itself it does not make any sense. Thus this code could have been
>>> combined with any possible following code.
>>
>> Is the code that follows it always the same?
>
>
> The number of use cases is limited.
> Here are some of them:
>
> * connect to a well known address (client)
> * bind to a well known address -- create listening socket (server)

So what do you propose? An asynchronous constructor for socket?

Daniel

>
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost


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