Boost logo

Boost :

Subject: [boost] [asio] confused by multiple socket flavors
From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2009-10-07 05:38:50


There is a stream_socket_service and a ip::tcp::socket
class, with almost the same member functions. I do
understand that the first "is_a" service while the
second "has_a" service.

Is there any rationale beyond just having both?
When would I want to use which one?

Do I have overlooked something in the documentaion?

Any hints appreciated.

Roland

-- 
_________________________________________
  _  _  | Roland Schwarz aka. speedsnail
 |_)(_  | sip:speedsnail_at_[hidden]
 | \__) | mailto:roland.schwarz_at_[hidden]
________| http://www.blackspace.at

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