comparison C++/modules/Socket/Socket.h @ 346:d235553e47a9

Socket: - SocketListener is now implemented as a template and use the backend as the template parameter. No more virtual implementation, - Improve backend detection and set the default backend implementation automatically, - Rename Socket::init to Socket::initialize for non-Windows systems, - Rename SocketListener::(select|selectMultiple) to wait|waitMultiple - Coming up soon: kqueue and epoll backends.
author David Demelier <markand@malikania.fr>
date Thu, 02 Apr 2015 17:32:51 +0200
parents 6efe3cbe7df5
children c4381c345f2d
comparison
equal deleted inserted replaced
345:c293dbe181c0 346:d235553e47a9
236 #else 236 #else
237 public: 237 public:
238 /** 238 /**
239 * no-op. 239 * no-op.
240 */ 240 */
241 static inline void init() noexcept {} 241 static inline void initialize() noexcept {}
242 242
243 /** 243 /**
244 * no-op. 244 * no-op.
245 */ 245 */
246 static inline void finish() noexcept {} 246 static inline void finish() noexcept {}