SIPSorcery.Net.STUNListener.STUNListener C# (CSharp) 메소드

STUNListener() 공개 메소드

public STUNListener ( IPEndPoint endPoint ) : NUnit.Framework
endPoint System.Net.IPEndPoint
리턴 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;
            }
        }