Re: [twsocket] TTwitter component

2011-02-26 Thread Francois PIETTE
I will modify the code to use a variable for this outside the ics unit, as this will create only extra complication when a new ICS is available. Good :-) But, you mention it's very different from your current one, do you mean a new version still in development? since I have the latest distribu

Re: [twsocket] udp packet loss

2011-02-26 Thread Francois PIETTE
I need to use udp because my application is an h323/sip endpoint. RTP uses udp sockets to transmit/receive audio/video data. RTCP can be used to manage packet loss. OK, good. But in this case packets are not lost by the network. If I use wireshark I can see all the packets. I'll assume you u

Re: [twsocket] TTwitter component

2011-02-26 Thread brian -
Hi :) I actually send a mail to the list about this change: sender-time Sent at 11:37 PM (GMT+01:00). Current time there: 7:27 AM. ✆ > to ICS > date Mon, Feb 21, 2011 at 11:37 PM > subject THttpCli modification request, and gzip fix I made that minor change to ease the header modifications jus

Re: [twsocket] TTwitter component

2011-02-26 Thread Francois PIETTE
Hello Brian, Ok, here's my twitter implementation : http://eden.fm/2011/02/27/twitter-library-for-delphi/ It is very generous to make it OpenSource. Thanks a lot. There is still one big issue with your code: it make use of a modified ICS unit. Using a modified version make it almost impossib

Re: [twsocket] TTwitter component

2011-02-26 Thread brian -
Ok, here's my twitter implementation : http://eden.fm/2011/02/27/twitter-library-for-delphi/ On Tue, Feb 22, 2011 at 12:13 PM, Francois PIETTE wrote: > You should really consider making in freeware/opensource. >>> You'll gain something: other people will find bugs and make enhancements. >>> You

Re: [twsocket] udp packet loss

2011-02-26 Thread emanuele bizzarri
Hi, I need to use udp because my application is an h323/sip endpoint. RTP uses udp sockets to transmit/receive audio/video data. RTCP can be used to manage packet loss. But in this case packets are not lost by the network. If I use wireshark I can see all the packets. I think that there is a prob

Re: [twsocket] udp packet loss

2011-02-26 Thread Francois PIETTE
As you can see Sorry, no time to examine it in details. Priority is given to my business customers... in my code I've also try to set tpTimeCritical to thread priority, but without any success. The worker thread check if expected packet number (first four bytes) corresponds to expected pack

Re: [twsocket] udp packet loss

2011-02-26 Thread Angus Robertson - Magenta Systems Ltd
> As you can see in my code I've also try to set tpTimeCritical to > thread priority, but without any success. Try changing the application priority: SetPriorityClass (GetCurrentProcess, HIGH_PRIORITY_CLASS); or even REALTIME_PRIORITY_CLASS, but this last one can be dangerous since Windows may

[twsocket] TWSocket new HTTP proxy support strongly improved

2011-02-26 Thread Arno Garrels
Hi, I just checked in a change that improved the built-in HTTP proxy-support of TWSocket. Any feedback is very wellcome, be it positive or negative. Log: TCustomHttpTunnel strongly improved. - Bugfix: Ensure that internally buffered application data is read by the upper layer by posting a fak

Re: [twsocket] udp packet loss

2011-02-26 Thread emanuele bizzarri
Hi Francois, thank you for your response. I've created the socket inside DoInit, that is an override method of the virtual DoInit of the worker thread. The DoInit method is called inside Execute method, so the socket is created by the thread and its messages are handled by it (try to use GetThreadI

Re: [twsocket] udp packet loss

2011-02-26 Thread Francois PIETTE
I've a problem with udp. Often my application detects packet losses. At first glance, this is expected with UDP. By construction UDP is an unreliable transport. In order to systematically reproduce the problem, I've used the following configuration. I use 2 pc connected with a cross cable. T

[twsocket] udp packet loss

2011-02-26 Thread emanuele bizzarri
Hi, I've a problem with udp. Often my application detects packet losses. In order to systematically reproduce the problem, I've used the following configuration. I use 2 pc connected with a cross cable. The client sends udp numbered packets to the server. Packet size is 1460. One packet is sent ev

Re: [twsocket] SSL FTP problem?

2011-02-26 Thread Angus Robertson - Magenta Systems Ltd
> The server is the one that site5.com gives, with real IP. I don't > know if they use any firewalls. It may still be behind NAT even if you see a public, I have another public ICS FTP server that is behind NAT but still works fine with normal FTP (the firewall router is intelligent) but which wi

Re: [twsocket] SSL FTP problem?

2011-02-26 Thread Antol
Hello Angus, Saturday, February 26, 2011, 12:20:00 PM, you wrote: ARMSL> Upload to what server, where? Your own, on your own LAN? Or behind ARMSL> another firewall, like mine? Are you using NAT on both client and server, ARMSL> or do both have public IP addresses? No, this time I did not

Re: [twsocket] SSL FTP problem?

2011-02-26 Thread Angus Robertson - Magenta Systems Ltd
> I unplugged the network cable from the router and plugged it > directly to notebook. The notebook doesn't have antivirus > and firewall software. > > Now, when I upload the file using FTP SSL, FileZilla has the > same problem with directory listing hangup. Upload to what server,

Re: [twsocket] SSL FTP problem?

2011-02-26 Thread Fastream Technologies
It timed out from here with FileZilla. SZ On Sat, Feb 26, 2011 at 10:53 AM, Antol wrote: > > FTPS Server test: > > If anyone can test PureFTPd for ftps compatlbility, please use this > info and let me know if you can upload files in FTPS mode. Maybe the > problem is that the FTP server s

Re: [twsocket] SSL FTP problem?

2011-02-26 Thread Antol
FTPS Server test: If anyone can test PureFTPd for ftps compatlbility, please use this info and let me know if you can upload files in FTPS mode. Maybe the problem is that the FTP server software is not completely compatible with FTPS? ftp://174.132.5.68 l: ftptest p: ftptest -- To unsub

Re: [twsocket] SSL FTP problem?

2011-02-26 Thread Antol
Hello Angus, I unplugged the network cable from the router and plugged it directly to notebook. The notebook doesn't have antivirus and firewall software. Now, when I upload the file using FTP SSL, FileZilla has the same problem with directory listing hangup. If I upload a fil