}
    protected synchronized void bind(UDPDatagramSocketImpl socket)            throws SocketException {        final Integer lport = new Integer(socket.getLocalPort());        if (sockets.containsKey(lport)) {            throw new SocketException("Port already bound (" + lport + ")");        } else {            sockets.put(lport, socket);        }    }