Re: [twsocket] Overbyte ICS FTP upload with progress bar

2015-02-22 Thread Lester Clayton
I've writen an FTP client that previously used OnFtpProgress, and can confirm that it's called a tremendous amount of times, and in my case caused my client application to hit 100% CPU as a result. The way I've implemented it in the past is to create another FTP Client class derived from ICS F

Re: [twsocket] HttpAppServer IP

2014-08-05 Thread Lester Clayton
I think this is now outside the scope of ICS support, but here's an idea nonetheless: Get your application to periodically (every 10 minutes or so) report to an internal web server (which you can also build using ICS), and "registers" that it's running. The web server can then find out what

Re: [twsocket] HttpAppServer IP

2014-08-05 Thread Lester Clayton
Using TWSocket you can get a stringlist known as "LocalIPList" which will list your local IP addresses, except the localhost address. This however won't tell you what address the HTTP server is listening on, but if you've told it to listen on 0.0.0.0 (all local addresses), then LocalIPList wil

Re: [twsocket] ICS FTP server and clients in active mode

2014-01-23 Thread Lester Clayton
In passive mode, the client connects to the server to establish the TCP session on which the data is being transferred. In active mode, the server connects to the client in order to establish the TCP session for the data channel. The best place to look for the problem is from the client - ena

Re: [twsocket] Mails not reaching destination...

2013-10-23 Thread Lester Clayton
You're going to need to log the SMTP communication to determine if the mail message is being accepted or rejected. Once you know this, then you can take it up with your SMTP provider who can potentially trace the mail for you. If it's being rejected, it usually tells you the reason why. Just

Re: [twsocket] TPing, PingThrd1...

2013-09-08 Thread Lester Clayton
On 08/09/2013 18:39, zayin wrote: A failure message can come sooner if there is a failure in Winsock. Situations where this will occur is if you have no network connectivity (General Error), there is no route to host or TTL expired in transit (too many hops). In cases like this, the TCP/IP s

Re: [twsocket] TPing, PingThrd1...

2013-09-03 Thread Lester Clayton
On 03/09/2013 21:16, zayin wrote: I need a very simple ping test, threaded. The demo I found works, expect altering the timeout does not change the length of time to wait for a response after the ICMP echo is sent. Mark I currently use this in production. It's a custom app I've written whic