> How can I reduce the priority of TFTPServer ? Windows API allows you to change a process priority or a thread priority. You can also temporary suspend the socket activity. It has been implemented in HTTP client component (bandwidth limitation). You could implement similar feature in the FTP server component and more specifically in the socket component used by the FTP server for data transmission (Search FDataSocket in FtpSrvC.pas). Not a trivial task to do but since it has been done for another component, the design is already there.
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be ----- Original Message ----- From: "Allan Fernandes" <[EMAIL PROTECTED]> To: "ICS" <twsocket@elists.org> Sent: Wednesday, August 16, 2006 11:35 AM Subject: [twsocket] Reduce Priority TFTPServer > Hi, > > I am using Delphi 5 with your TFTPServer and > TFTPClient over a LAN network. > There are 20 machines sending data simultaneously to > the same TFTPServer. This is slowing down the machine > considerably. > I have no problem if the FTP transfers are slowed down > instead, therefore I am trying to add > Application.ProcessMassages in > FtpServer1StorDataAvailable event. With this the > client goes into Timeout and only a portion of the > file reaches the server. > > I tried adding > FtpClient1.DataSocket.LingerOnOff:=wsLingerOn ; > FtpClient1.DataSocket.LingerTimeout:=30 ; // also > tried 300 and 3000 > and > FtpClient1.Timeout:=30 ; // also tried 300 and 3000 > > but it did not help. > > How can I reduce the priority of TFTPServer ? > > Regards > Allan > > > > > > > ___________________________________________________________ > All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine > http://uk.docs.yahoo.com/nowyoucan.html > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://www.elists.org/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be