diff C++/Converter.cpp @ 245:3c12f0e8bbb9

Converter: add cstring missing Sockets: * Starts a PIMPL idiom to safely cast Socket with the future SocketSsl and be able to return a class of type "Socket" whilst the interface returns effectively a SocketSsl. * Rename some function to be more cute to use like getDomain -> domain(). * SocketListener now owns completely sockets and must be moved to it, the dedicated function select() always return a socket owned by SocketListener. * Operation close is not needed anymore but the function stays in case it's needed.
author David Demelier <markand@malikania.fr>
date Sun, 28 Sep 2014 21:15:26 +0200
parents 5bb5712d400f
children
line wrap: on
line diff
--- a/C++/Converter.cpp	Sat Sep 13 19:42:15 2014 +0200
+++ b/C++/Converter.cpp	Sun Sep 28 21:15:26 2014 +0200
@@ -17,6 +17,7 @@
  */
 
 #include <cerrno>
+#include <cstring>
 #include <string>
 #include <iterator>
 #include <memory>