// 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();
// (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];
}
void comm::BinderSocket::waitBind(const Millisecond &maxDelay)
-throw(RuntimeException) {
+noexcept(false) {
struct msghdr mh;
struct iovec iov;
const int garbage(0);