public void Start(System.Net.Sockets.TcpClient socket) { m_theSocket = socket; m_theCommands = new Assemblies.Ftp.FtpConnectionObject(m_fileSystemClassFactory, m_nId, socket); m_theThread = new System.Threading.Thread(new System.Threading.ThreadStart(this.ThreadRun)); m_theThread.Start(); }
public void Start(System.Net.Sockets.TcpClient socket) { m_theSocket = socket; m_theCommands = new Assemblies.Ftp.FtpConnectionObject(m_fileSystemClassFactory, m_nId, socket); m_theThread = new System.Threading.Thread(new System.Threading.ThreadStart(this.ThreadRun)); m_theThread.Start(); }
static private System.Net.Sockets.TcpClient OpenSocket(FtpConnectionObject connectionObject) { System.Net.Sockets.TcpClient socketPasv = connectionObject.PasvSocket; if (socketPasv != null) { connectionObject.PasvSocket = null; return(socketPasv); } return(Assemblies.General.SocketHelpers.CreateTcpClient(connectionObject.PortCommandSocketAddress, connectionObject.PortCommandSocketPort)); }
static private System.Net.Sockets.TcpClient OpenSocket(FtpConnectionObject connectionObject) { System.Net.Sockets.TcpClient socketPasv = connectionObject.PasvSocket; if (socketPasv != null) { connectionObject.PasvSocket = null; return socketPasv; } return Assemblies.General.SocketHelpers.CreateTcpClient(connectionObject.PortCommandSocketAddress, connectionObject.PortCommandSocketPort); }
public FtpReplySocket(FtpConnectionObject connectionObject) { m_theSocket = OpenSocket(connectionObject); }
public FtpReplySocket(FtpConnectionObject connectionObject) { m_theSocket = OpenSocket(connectionObject); }