X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fcomm%2Finternal%2FBinderSocket.cpp;fp=source%2Fcomm%2Finternal%2FBinderSocket.cpp;h=6a544222af6f06877042a041c8b89dd1d80a0f20;hp=6768fabb0ed75dc54cbc7821e46780405a305371;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/comm/internal/BinderSocket.cpp b/source/comm/internal/BinderSocket.cpp index 6768fab..6a54422 100644 --- a/source/comm/internal/BinderSocket.cpp +++ b/source/comm/internal/BinderSocket.cpp @@ -61,7 +61,7 @@ comm::BinderSocket::BinderSocket(comm::ServerSocket* serverSocket) : // Visto en: http://mail-index.netbsd.org/current-users/1998/01/16/0010.html //------------------------------------------------------------------------------------------------- void comm::BinderSocket::requestBind(const struct sockaddr* s, const int len) -throw(RuntimeException) { +noexcept(false) { if(::bind(a_serverSocket.a_fd, s, len) != -1) { // (1) unlink(getRemoteAccessPoint().getPath().c_str()); this->bind(); @@ -92,7 +92,7 @@ throw(RuntimeException) { // (4) Cierra la nueva conexion ya que no vamos a volver a usarla para nada. //------------------------------------------------------------------------------------------------- void comm::BinderSocket::responseBind() -throw(RuntimeException) { +noexcept(false) { struct iovec iov; struct msghdr mh; int fds [2]; @@ -146,7 +146,7 @@ throw(RuntimeException) { } void comm::BinderSocket::waitBind(const Millisecond &maxDelay) -throw(RuntimeException) { +noexcept(false) { struct msghdr mh; struct iovec iov; const int garbage(0);