public void bind(SocketAddress bindpoint) throws IOException { if (closed) throw new SocketException("Socket is closed");
public void bind(SocketAddress bindpoint) throws IOException { if (isClosed()) throw new SocketException("socket is closed");
	public void bind(SocketAddress bindpoint) throws IOException {		if (closed)			throw new SocketException("Socket is closed");		if (!(bindpoint instanceof InetSocketAddress))			throw new IllegalArgumentException();		InetSocketAddress tmp = (InetSocketAddress)bindpoint;		impl.bind(tmp.getAddress(), tmp.getPort());	}