SIPSorcery.SIP.SIPEndPoint.SIPEndPoint C# (CSharp) Method

SIPEndPoint() public method

public SIPEndPoint ( SIPProtocolsEnum protocol, IPAddress address, int port ) : System
protocol SIPProtocolsEnum
address System.Net.IPAddress
port int
return System
        public SIPEndPoint(SIPProtocolsEnum protocol, IPAddress address, int port)
        {
            Protocol = protocol;
            Address = address;
            Port = (port == 0) ? (Protocol == SIPProtocolsEnum.tls) ? m_defaultSIPTLSPort : m_defaultSIPPort : port;
        }

Same methods

SIPEndPoint::SIPEndPoint ( ) : System
SIPEndPoint::SIPEndPoint ( IPEndPoint endPoint ) : System
SIPEndPoint::SIPEndPoint ( SIPProtocolsEnum protocol, IPEndPoint endPoint ) : System
SIPEndPoint::SIPEndPoint ( SIPURI sipURI ) : System