pow/pow_service.js
function _cacheGetHandleByUrl( sUrl )
{
	let oRet;
	let arrResult;

	if ( 'string' !== typeof sUrl || 0 === sUrl.length )
	{
		return null;
	}

	//	...
	oRet		= null;
	sUrl		= sUrl.trim().toLowerCase();
	arrResult	= m_arrCacheOutboundPeers.filter( oSocket => oSocket.peer === sUrl );
	if ( Array.isArray( arrResult ) && 1 === arrResult.length )
	{
		oRet = arrResult[ 0 ];
	}

	return oRet;
}
function _cacheGetHandleByUrl( sUrl )
{
	let oRet;
	let arrResult;

	if ( 'string' !== typeof sUrl || 0 === sUrl.length )
	{
		return null;
	}

	//	...
	oRet		= null;
	sUrl		= sUrl.trim().toLowerCase();
	arrResult	= m_arrCacheOutboundPeers.filter( oSocket => oSocket.peer === sUrl );
	if ( Array.isArray( arrResult ) && 1 === arrResult.length )
	{
		oRet = arrResult[ 0 ];
	}

	return oRet;
}
function _cacheGetHandleByUrl ( sUrl ) { let oRet ; let arrResult ; if ( 'string' !== typeof sUrl || 0 === sUrl . length ) { return null ; } //	... oRet = null ; sUrl = sUrl . trim ( ) . toLowerCase ( ) ; arrResult = m_arrCacheOutboundPeers . filter ( oSocket => oSocket . peer === sUrl ) ; if ( Array . isArray ( arrResult ) && 1 === arrResult . length ) { oRet = arrResult [ 0 ] ; } return oRet ; }
get socket handle by url

@private
@param	{string}	sUrl
@returns {null}
get socket handle by url