SIPSorcery.Net.STUNListener.STUNListener C# (CSharp) Method

STUNListener() public method

public STUNListener ( IPEndPoint endPoint ) : NUnit.Framework
endPoint System.Net.IPEndPoint
return NUnit.Framework
        public STUNListener(IPEndPoint endPoint)
        {
            try
            {
                m_localEndPoint = InitialiseSockets(endPoint.Address, endPoint.Port);
                logger.Info("STUNListener created " + endPoint.Address + ":" + endPoint.Port + ".");
            }
            catch(Exception excp)
            {
                logger.Error("Exception STUNListener (ctor). " + excp.Message);
                throw excp;
            }
        }