code: private function bind()
      {
          if (! @socket_bind($this->handle, $this->endpoint->getAddress(), $this->endpoint->getPort())) {
              $code = socket_last_error($this->handle);
              throw new SocketException(socket_strerror($code), array(), $code);
          }
      }
docs: Bind the server socket to the given endpoint
  
  @throws SocketException in case of binding has failed