UnitTest.SMTPSimulator.TestConnect C# (CSharp) Method

TestConnect() public method

public TestConnect ( int iPort ) : bool
iPort int
return bool
        public bool TestConnect(int iPort)
        {
            bool bRetVal = m_oSocket.Connect(_ipaddress, iPort);
             m_oSocket.Disconnect();
             return bRetVal;
        }