// Methods
 /// <summary>
 /// Default constructor
 /// </summary>
 private FtpListenerManager()
 {
     Logging.Print(" *** MiniFTPServer ***");
     foreach (IPAddress item in System.Net.Dns.GetHostEntry("").AddressList)
     {
         m_HostIP = item;
         if (null != m_HostIP) break;
     }
     m_Sessions = new SessionPool();
     m_Listeners = new ArrayList();
     Logging.Print("Running in domain " + AppDomain.CurrentDomain.FriendlyName);
 }
Beispiel #2
0
 // Methods
 /// <summary>
 /// Default constructor
 /// </summary>
 private FtpListenerManager()
 {
     Logging.Print(" *** MiniFTPServer ***");
     foreach (IPAddress item in System.Net.Dns.GetHostEntry("").AddressList)
     {
         m_HostIP = item;
         if (null != m_HostIP)
         {
             break;
         }
     }
     m_Sessions  = new SessionPool();
     m_Listeners = new ArrayList();
     Logging.Print("Running in domain " + AppDomain.CurrentDomain.FriendlyName);
 }