SIPSorcery.SIP.SIPUDPChannel.Initialise C# (CSharp) Method

Initialise() private method

private Initialise ( ) : void
return void
        private void Initialise()
        {
            try {
                m_sipConn = new UdpClient(m_localSIPEndPoint.GetIPEndPoint());

                Thread listenThread = new Thread(new ThreadStart(Listen));
                listenThread.Name = THREAD_NAME + Crypto.GetRandomString(4);
                listenThread.Start();

                logger.Debug("SIPUDPChannel listener created " + m_localSIPEndPoint.GetIPEndPoint() + ".");
            }
            catch (Exception excp) {
                logger.Error("Exception SIPUDPChannel Initialise. " + excp.Message);
                throw excp;
            }
        }