Subject: Re: [boost] asio library
From: Peter Foelsche (peter_foelsche_at_[hidden])
Date: 2009-10-27 15:10:50
"Olaf van der Spek" <olafvdspek_at_[hidden]> wrote in message
>>>> 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)