public void closeSocket()
	{
		try
		{
			if
			(
				this.isaMc != null
				&& this.ms != null
				&& ! this.ms.isClosed()
			)
				this.ms.leaveGroup(isaMc, EzimNetwork.localNI);
		}
		catch(Exception e)
		{
			EzimLogger.getInstance().severe(e.getMessage(), e);
		}

		try
		{
			if (this.ms != null && ! this.ms.isClosed())
				this.ms.close();
		}
		catch(Exception e)
		{
			EzimLogger.getInstance().severe(e.getMessage(), e);
		}
	}