diff --git a/dns.db b/dns.db index 730d31e4fb263c56b50e771c1a5807a5b58fdf33..25723b457d7869ff2df1284494d7d81392893205 100644 Binary files a/dns.db and b/dns.db differ diff --git a/include/IPC_US_communicator.h b/include/IPC_US_communicator.h index 75ecd03582673bca524bebb787b214ab4bbfe416..2a4eff99a91ba0e925b8838424103055341453bc 100644 --- a/include/IPC_US_communicator.h +++ b/include/IPC_US_communicator.h @@ -25,6 +25,15 @@ class IPC_US_communicator udp_socket_wp comm_sock; /** Socket to which messages will be sent */ IPC_US_communicator(const IPC_US_communicator& orig); public: + /** + * Creates an IPC object in the role of the server if master is true, + * and in the role of the controller otherwise. + * A 5 sec timeout is set to the socket. + * @param socket_path Path to create the socket. + * It will be uesd for abstract namespace UNIX domain socket. + * @param master Signts if the object would play the role of a server + * or a controller. + */ IPC_US_communicator(std::string socket_path, const bool master); virtual ~IPC_US_communicator(); diff --git a/include/dns_server.h b/include/dns_server.h index 66552fe04d00c5a58ea6407c465c374dbc773f2f..7e6ab46d303f7d11d052fbada8f9bf35cd6e3c95 100644 --- a/include/dns_server.h +++ b/include/dns_server.h @@ -55,6 +55,7 @@ public: /** * Binds the server to the sockaddr specified. + * It sets a 2 sec timeout to the socket. * @param addr Sockaddr to bind to */ void init(const general_sockaddr_wp& addr);