Re: [twsocket] Fw: Strange IP problem

2005-07-14 Thread Fastream Technologies
Please ignore my previous message as I found the problem. FYI, it was the proxy setting on the IE. ;( You should use ICS HTTP client instead of WinInet. You'd avoid such dependence on IE settings (WinInet _is_ IE). When I wrote that unit, ICS HTTP was not well capable of proxies. I will

Re: [twsocket] No connection with TCP/IP over VPN

2005-07-14 Thread Wilfried Mestdagh
Hello Menno, To troubleshoot these steps to follow (not nececarly in sequence): 1. ping the host, if reply then route is ok 2. telnet to the host, if connect then TWSocket connect also 3. very importand: What's the winsock error ? Because this will tell you what exacly is wrong etablishing the

Re: [twsocket] Adding gzip to HttpCli

2005-07-14 Thread Maurizio Lotauro
Before start, I get your answer from the archive of this ML because it seems that my ISP has lost a whole day of emails :( On 12-Jul-05 02:41:45 Francois PIETTE wrote: a) where is the best place to decode the received stream? Xavier do this in the GetBodyLineNext when the end of document is

RE: [twsocket] Bind Exceptions

2005-07-14 Thread Darin McGee
You can not have two programs listening on the same port hence the bind error. Darin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wesley Spadola Sent: Thursday, July 14, 2005 9:13 PM To: twsocket@elists.org Subject: [twsocket] Bind Exceptions

Re: [twsocket] Bind Exceptions

2005-07-15 Thread Wilfried Mestdagh
Hello Wesley, Next time please write down at least the winsock error :) In this case you have 10048 witch means that the address already in use (by your other instance of your program). address + port is exclusive (in fact it is proto + address + port). --- Rgds, Wilfried

Re: [twsocket] Adding gzip to HttpCli

2005-07-15 Thread Francois Piette
So we should consider both. But there is a potential problem. The RFC stated that more that one encoding can be applied to the body. We can have then a mixed situation. Two compression applied one after the other or one compression for a part of the document and another one for the remaining

Re: [twsocket] Bind Exceptions

2005-07-15 Thread Francois Piette
The bind error is translated to an exception which says something like error 10048 port already in use. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Wesley Spadola [EMAIL PROTECTED] To: twsocket@elists.org Sent: Friday, July 15, 2005 3:12 AM Subject: [twsocket]

Re: [twsocket] Bind Exceptions

2005-07-15 Thread Wesley Spadola
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To you both, Darin and Wilfried - I'm aware that you cannot have two sockets listening on the same address, port and protocol. Sorry about that - yes, it was a 10048 error. I was wondering how I could catch that error programatically when my

Re: [twsocket] Bind Exceptions

2005-07-15 Thread Dan
Use Try and Except. Try WSocket1.Listen; Except On E: Exception Do Memo1.Lines.Add('Error when listening: '+E.Message); End; - Original Message - From: Wesley Spadola [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Friday, July 15, 2005 11:11 AM Subject: Re:

Re: [twsocket] Bind Exceptions

2005-07-15 Thread Francois Piette
Sorry about that - yes, it was a 10048 error. I was wondering how I could catch that error programatically when my program runs. Try/except around your cann to Listen. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Wesley Spadola [EMAIL PROTECTED] To: ICS

[twsocket] error dnslookup

2005-07-15 Thread Develop ics
Hi I've a problem with TWSocket when i want to use dnslookup with an ip number. If i give it a host as parameter, it resolves it, but if i give it an ip number it does nothing, i saw in ICS's DnsLook.dpr sample project that if i pass an ip it resolves nice I've a list of hosts and IPs and I

Re: [twsocket] Using TTnEmulVT

2005-07-15 Thread Francois PIETTE
Can I remove string EmulVT from the top line when I dragdrop this component on the form? You must write the Clear Screen escape sequence at runtime. For example from the FormCreate event handler: TnEmulVT1.WriteStr(#27 + '[2J'); And can I use my own settings instead EditOptions method.

Re[2]: [twsocket] No connection with TCP/IP over VPN

2005-07-16 Thread Wilfried Mestdagh
Hello Menno, As for the Telnet experiment: the controller that is on the other end of the line only supports TCP/IP; it's not a PC or I meant not to communicate with the other end, just to see if connection can be etablished from that machine to the device. back to 8. The only error that

Re: [twsocket] error dnslookup

2005-07-16 Thread Wilfried Mestdagh
Hello, the ip, if it is ip it should give me host, but it does not, it works only with hosts Not exacly. If you call it with IP then DNSLookupDone is just called immediatly with the IP address. Only if you pass it a hostname then a DNS lookup is done in background and OnDNSLookupDone is called

[twsocket] [Test] the list has moved to a new server

2005-07-16 Thread Francois PIETTE
It is possible that it take some time for DNS to propagate. OLD: www.elists.org - 63.149.28.34 NEW: www.elists.org - 64.34.172.189 -- [EMAIL PROTECTED] http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto

[twsocket] SMTP FromName

2005-07-17 Thread Wilfried Mestdagh
Hello, the MAIL FROM: ... or in Smtp client FromName, what is original meaning of it? I have tryed with several SMTP servers and I can fill in whatever I want, it is always accepted, and for the mail reader only the headers are used. Or could it be that some SMTP servers have a list with valid

Re: [twsocket] SMTP FromName

2005-07-17 Thread Arno Garrels
Wilfried Mestdagh wrote: Hello Arno, So if I understeand it right, when the server is not possible to deliver the mail, then it uses that address to return an 'undeliverable' mail ? Yes, correct. Arno Garrels --- Rgds, Wilfried http://www.mestdagh.biz Sunday, July 17, 2005, 19:05,

Re: [twsocket] SMTP FromName

2005-07-17 Thread DZ-Jay
On Jul 17, 2005, at 13:05, Arno Garrels wrote: A server may reject a none local From address, but practically most servers don't, since anybody can send any address in the Mail From command. However that address is used by the server to build the Return-Path, that's why we get so much

Re: [twsocket] SMTP FromName

2005-07-17 Thread Angus Robertson - Magenta Systems Ltd
A server may reject a none local From address, but practically most servers don't Several UK ISPs do validate the From address as being one of their domains, BT ADSL in particular, to stop false Froms being used. But this is very inconvenient for people using ADSL for connectivity only with

Re: [twsocket] Using TTnEmulVT

2005-07-18 Thread Artem Antonov
On Fri, 15 Jul 2005 21:06:06 +0200 Francois PIETTE [EMAIL PROTECTED] wrote: Can I remove string EmulVT from the top line when I dragdrop this component on the form? You must write the Clear Screen escape sequence at runtime. For example from the FormCreate event handler:

Re: [twsocket] Using TTnEmulVT

2005-07-18 Thread Francois Piette
Question about security: as I read, TTnEmulVT it's TELNET and ANSI terminal emulation combined component. So, it does not support SSH protocol. How I can do it more security, if I want to work via Internet? There is an SSH implementation for TTnEmulVT available from the usermade page. It is

Re: [twsocket] Using TTnEmulVT

2005-07-18 Thread Francois Piette
Is it possible to do with TTnEmulVT: 1) Hide from Terminal some output of host computer (Telnet server), so user can not view result of command he send to the host computer, but this command is executed; You should bette use separate TTnCnx (Telnet protocol) and TEmulVT (Terminal emulation)

Re: [twsocket] Using TTnEmulVT

2005-07-18 Thread Francois Piette
Is it possible to do with TTnEmulVT: 1) Hide from Terminal some output of host computer (Telnet server), so user can not view result of command he send to the host computer, but this command is executed; You should bette use separate TTnCnx (Telnet protocol) and TEmulVT (Terminal

[twsocket] How to stop location change for the HttpCli

2005-07-20 Thread KL Chin
Hi Everyone, Could someone assist me on this requirement. Basically I would like to stop the HttpCli proceed to next/redirect location, when it received the very first request. Because the first received data more meaningful for me. Knowing that by using FOnLocationChange, I can copy the

[twsocket] FTPClient not ready

2005-07-20 Thread bimbospank
Hi All, in my delphi application i use the TFtpClient with timer that on interval retrieve file from my ftp server. My first time ftpclient works, but another time stop it generate FTP Component not ready, Why ? How do i control this situation ? Thanks a lot in advanced for answer.

Re: [twsocket] How to stop location change for the HttpCli

2005-07-20 Thread Francois Piette
Basically I would like to stop the HttpCli proceed to next/redirect location Use FollowRelocation property. Set it to FALSE. -- [EMAIL PROTECTED] Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be - Original Message

Re: [twsocket] How to stop location change for the HttpCli

2005-07-20 Thread KL Chin
Hi Francios, Which version of HttpCli had this FollowRelocation property? Currently the HttpProt 1.47. Regards KL Chin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Francois Piette Sent: Wednesday, July 20, 2005 3:11 PM To: ICS support mailing Subject:

[twsocket] FTP question

2005-07-20 Thread Arno Garrels
Hello, My FTP client doesn't receive a reply to the type set command from FTP server GuildFTP when installed on localhost, remotely it works fine. FileZilla works locally as well as remotely w/o problems. Is this a client or a server bug?? 07/19/2005 21:16:30 NLST 07/19/2005 21:16:31 150

Re: [twsocket] FTP question

2005-07-20 Thread Francois Piette
Using a sniffer, can you see the command passing on the network ? -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Wednesday, July 20, 2005 10:11 AM Subject: [twsocket] FTP question

Re: [twsocket] FTP question

2005-07-20 Thread Arno Garrels
Francois Piette wrote: Using a sniffer, can you see the command passing on the network ? Can you recommend a certain sniffer? Or is it possible to monitor local traffic with raw sockets? Arno Garrels -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Arno

Re: [twsocket] FTP question

2005-07-20 Thread Angus Robertson - Magenta Systems Ltd
Can you recommend a certain sniffer? Or is it possible to monitor local traffic with raw sockets? My Socket Monitor ICS component will be ready later today or tomorrow, it uses both ICS raw sockets and WinPcap. There are 'sniffer' and 'statistics' test applications. However raw sockets

Re: [twsocket] How to stop location change for the HttpCli

2005-07-20 Thread KL Chin
Hi Francios, Thx for ur reply. Regards KL Chin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Francois Piette Sent: Wednesday, July 20, 2005 4:03 PM To: ICS support mailing Subject: Re: [twsocket] How to stop location change for the HttpCli Which

Re: [twsocket] FTP question

2005-07-20 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: Can you recommend a certain sniffer? Or is it possible to monitor local traffic with raw sockets? My Socket Monitor ICS component will be ready later today or tomorrow, it uses both ICS raw sockets and WinPcap. Great! There are 'sniffer' and

Re: [twsocket] FTP question

2005-07-20 Thread olivier-serveur
Arno Garrels a écrit : I've tested some sniffers with and without WinPCap (W2K SP4), but they all are not capable to capture local traffic (at least on my box). Is this normal? Are you try : ethereal ? (www.ethereal.com/) And, are you try in passive mode ? Olivier -- To unsubscribe or

Re: [twsocket] FTP question

2005-07-20 Thread Arno Garrels
Francois Piette wrote: Using a sniffer, can you see the command passing on the network ? Can you recommend a certain sniffer? Well, I tried with the sniffer I use (LanWatch, an old commercial product). But it doesn't see trafic on localhost. Or is it possible to monitor local traffic with

Re: [twsocket] FTP question

2005-07-20 Thread Guillaume MAISON
An unrelated question. WinPcap shows a vast number of packets being broadcast around my network with an ethernet protocol of x88AD, which is not in documents I can find, nor does Ethereal describe it. Not quite sure which MAC address is sending them, but some MACs are replying. Has

Re: [twsocket] FTP question

2005-07-20 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: I've tested some sniffers with and without WinPCap (W2K SP4), but they all are not capable to capture local traffic (at least on my box). Is this normal? It does seem to be the case. Raw sockets monitors a specific IP address, but presumably

Re: [twsocket] FTP question

2005-07-20 Thread Arno Garrels
olivier-serveur wrote: Arno Garrels a écrit : I've tested some sniffers with and without WinPCap (W2K SP4), but they all are not capable to capture local traffic (at least on my box). Is this normal? Are you try : ethereal ? (www.ethereal.com/) It's the same with ethereal. Arno Garrels

Re: [twsocket] FTP question

2005-07-20 Thread Angus Robertson - Magenta Systems Ltd
An unrelated question. WinPcap shows a vast number of packets being broadcast around my network with an ethernet protocol of x88AD, which is not in documents I can find, nor does Ethereal describe it. Not quite sure which MAC address is sending them, but some MACs are replying.

Re: [twsocket] FTP question

2005-07-20 Thread Angus Robertson - Magenta Systems Ltd
bug reports that may have to do with hardware DEP enabled on my executables I had a similar problem, which turned out to be the Petite executable compressor, but a new version was done within 24 hours of my report. BTW: In my X509 snapshot I sent recently a dfm was missing Yes, got

Re: [twsocket] FTP question

2005-07-20 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: bug reports that may have to do with hardware DEP enabled on my executables I had a similar problem, which turned out to be the Petite executable compressor, but a new version was done within 24 hours of my report. It's my impression that XP SP2

[twsocket] TEmulVT: Keyboard Mapping

2005-07-21 Thread Artem Antonov
Hello! I have some question about TEmulVT component: 1) Does TFuncKeysTable array is implementation of Keyboard Mapping in TEmulVT component? 2) Is this Table specific for some language or it will work with any languages? 3) Can I extend this Table with my own FuncKeys? Thanks! Best regards,

Re: [twsocket] TEmulVT: Keyboard Mapping

2005-07-21 Thread Francois PIETTE
I have some question about TEmulVT component: 1) Does TFuncKeysTable array is implementation of Keyboard Mapping in TEmulVT component? Mapping for function keys. Normal keys are mapped by Windows using the keyboard setting for your country. 2) Is this Table specific for some language or it

[twsocket] HttpCli with PostASync

2005-07-21 Thread KL Chin
Hi, I had create GUI app, and a thread to handle THttpCli, below partial of code. My problem was, after call PostAync( ); Not connection .. nothing happend at all. If I call Post( ); everything working. What could be the probelm? Do I need call PeekMessage? Regards KL Chin void __fastcall

[twsocket] HTTP client component and document encoding

2005-07-21 Thread Francois PIETTE
Maurizio Lotauro is working on the HTTP client component to extend the work already done by Xavier Le Bris (gzip support). The idea is to have a general mechanism in the component to register encoding system so that adding new encoding scheme doesn't require component change. Preliminary code

Re: [twsocket] HTTP client component and document encoding

2005-07-21 Thread Maurizio Lotauro
Scrive Francois PIETTE [EMAIL PROTECTED]: class function THttpContentCoding.GetCoding: String; const BASE_CLASS_NAME = 'THttpContentCoding'; begin if Pos(BASE_CLASS_NAME, ClassName) = 1 then Result := Copy(ClassName, Length(BASE_CLASS_NAME), MAXINT) else Result := 'Unknown';

Re: [twsocket] TEmulVT: Using TXlatTables

2005-07-22 Thread Francois PIETTE
I have question about TXlatTables. As I understand it's ISO-8859 coding pages. But why they are two: ibm_iso8859_1_G0 and ibm_iso8859_1_G1 ? In the procedure TScreen.WriteChar(Ch : Char); these tables are invoked on Shift key press? If anybody can please give me a hint how they are work.

[twsocket] Proxy authorization in HTTPCli

2005-07-23 Thread GSE Sas
I set exact Proxyname and port but I receive the error message as follows: HTTP 407 Authentification du proxy obligatoire - Le serveur ISA requiert l'autorisation d'exécuter la demande. L'accès au service du proxy Web est refusé. (12209) Internet Security and Acceleration Server What data I

[twsocket] [OT]Data remoting

2005-07-23 Thread Info 2004
Hi, Sorry for the OT nature of the request, but can anyone point me to examples/tutorials for D2005 to show me how to use data remoting? If there is a better list to ask this on, just let me know. Thanks... ...Andy -- ASA Micros Ltd. 141 Wardle Road, Wardle, Rochdale. OL12 9JA UK Tel:

Re: [twsocket] [OT]Data remoting

2005-07-23 Thread Francois PIETTE
If there is a better list to ask this on, just let me know. Yes, there is a better place: delphi@elists.org (as you see: same server, different list). Visit www.elists.org to subscribe. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Info 2004 [EMAIL PROTECTED]

Re: [twsocket] Proxy authorization in HTTPCli

2005-07-23 Thread Francois PIETTE
Are you sure the usercode/password you provide are OK ? Have you checked with latest beta version available separately from ICS download page ? -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: GSE Sas [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org

Re: [twsocket] Proxy authorization in HTTPCli

2005-07-23 Thread GSE Sas
Yes is last version. Actually I don't use Proxy username and password because I don't where I can find this data!! Also how set options in this case? - Original Message - From: Francois PIETTE [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Saturday, July 23, 2005

[twsocket] TFtpClient Timeouts?

2005-07-23 Thread Keith Willis
Hi All, What's the best way to detect if a timeout has occurred in a TFtpClient operation? Regards, Keith Willis. -- 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

Re: [twsocket] Proxy authorization in HTTPCli

2005-07-23 Thread Francois PIETTE
Have you checked with latest beta version available separately from ICS download page ? Yes is last version. Just to be sure: there is a zip file with HTTP component _only_. This is the beta I was talking. Actually I don't use Proxy username and password Doh ! because I don't where I

Re: [twsocket] Latest version of TFtpClient?

2005-07-23 Thread Francois PIETTE
V2.99 dated May 26, 2005 is the latest version available. Creation date is in the header, release date is in the history. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Keith Willis [EMAIL PROTECTED] To: twsocket@elists.org Sent: Saturday, July 23, 2005 5:00 PM

Re: [twsocket] TFtpClient Timeouts?

2005-07-23 Thread Francois PIETTE
What's the best way to detect if a timeout has occurred in a TFtpClient operation? A TTimer. -- [EMAIL PROTECTED] 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

Re: [twsocket] HttpCli StatusCode = 0 causes problems

2005-07-23 Thread Merijn Terheggen
Here you go: 'http://help.lycos.com' redirects into 'http://help.lycos.com/network_1_help.asp'. 'http://help.lycos.com/network_1_help.asp' redirects into 'http://help.lycos.com/network_1_help.asp', which is into itself. After the 2 LocationChange events, there will be 2 RequestDone events. The

Re: [twsocket] HttpCli StatusCode = 0 causes problems

2005-07-23 Thread Steve Endicott
I don't know if this applies to your situation or not but I have seen a StatusCode of 0 in log files from our customers. Most often, we find that Norton Internet Security, or Norton Firewall is blocking the responses and giving us the StatusCode of 0. I have them check Norton and they usually

Re: [twsocket] Proxy authorization in HTTPCli

2005-07-23 Thread Maurizio Lotauro
On 23-Jul-05 14:36:18 GSE Sas wrote: Yes is last version. Actually I don't use Proxy username and password because I don't where I can find this data!! Try user and password used to login into windows. Bye, Maurizio. -- To unsubscribe or change your settings for TWSocket mailing list please

[twsocket] Acting as Server/Client

2005-07-23 Thread Wesley Spadola
I am creating a program that acts as both a server and a client. It will connect to other instances of itself running on other computers as well as listen for other connections. I was wondering if it is possible to have one TWSocket component, derived from another TWSocket class but essentially

Re: [twsocket] Acting as Server/Client

2005-07-24 Thread Wilfried Mestdagh
Hello Wesley, TWSocket can connect and listen, but not the same siultanously. Use TWSocketServer for Server and TWSocket for client. Eventually you can derrive your TWSocketclass from TWSocketClient, and use this class for client, and assigne this same class to TWSocketServer. This way you have

Re: [twsocket] HttpCli StatusCode = 0 causes problems

2005-07-24 Thread Francois PIETTE
Using HttpTst sample program provided with ICS, I get only on OnRequestDone with StatusCode = 200. Not using proxy cmd GET / HTTP/1.1 cmd Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* cmd Connection: Keep-Alive cmd Accept-Language: en, fr cmd User-Agent: Mozilla/3.0

[twsocket] More on winsock.h included

2005-07-24 Thread Keith Willis
Hi All, Below is an excerpt of one of my header files. As you might have noticed, I am using Indy, TurboPower Internet Professional, and ICS components together in the same module. #include IdBaseComponent.hpp #include IdComponent.hpp #include IdHTTP.hpp #include IdTCPClient.hpp #include

[twsocket] Typo in IcsSha1.pas ?

2005-07-24 Thread Keith Willis
IcsSha1.pas LINE 63: Bomb('This code requires Delphi 2 or later'}; Methinks... final } should be a ) Keith. -- 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

Re: [twsocket] Typo in IcsSha1.pas ?

2005-07-24 Thread Fastream Technologies
Actually, as I reported in the SSL list, there are a few more of these bomb() bug. Francois, please just search for Bomb and correct them. Best Regards, SubZ - Original Message - From: Keith Willis [EMAIL PROTECTED] To: twsocket@elists.org Sent: Sunday, July 24, 2005 6:13 PM Subject:

Re: [twsocket] Proxy authorization in HTTPCli

2005-07-25 Thread Fastream Technologies
The proxy variables are sent to the proxy server for the proxy to forward the request. They are for the proxy to authorize. The username/password is for the web server in response to the 401 require authentication reponse header. They authorize the user for access to the protected page (like

Re: [twsocket] Monitor sockets components

2005-07-25 Thread Angus Robertson - Magenta Systems Ltd
I've just written two new components for monitoring ethernet packets: 1 - Raw sockets (W2K and later) using ICS, does not any other software installed, but may not capture send packets on W2K and XP, only W2K3, and ignores non-IP traffic. 2 - Winpcap device driver, needs to be installed (two

Re: [twsocket] HttpCli StatusCode = 0 causes problems

2005-07-25 Thread Maurizio Lotauro
On 23-Jul-05 17:04:48 Merijn Terheggen wrote: I noticed some behavior of HttpCli that caused me a LOT of headaches before I discovered what was going on and made a work-around. [...] Are you using the original HttpCli or an inherited version made by you? Bye, Maurizio. -- To unsubscribe or

Re: [twsocket] Adding gzip to HttpCli

2005-07-25 Thread Maurizio Lotauro
On 24-Jul-05 12:01:55 Xavier Le Bris wrote: Hello, A contribution to compression with gzip and some answers to Maurizio's questions : It is a good idea to put the whole stuff in another unit. a/ The site 'http://www.pipeboost.com/' works today for me in T_HttpCliGz. If not, check if zlib.dll

Re: [twsocket] HttpCli StatusCode = 0 causes problems

2005-07-26 Thread Merijn Terheggen
Yes, I'm using the original client. Also the latest version. Don't you get the same results when you add a LocationChange event handler and set breakpoints in both the LocationChange and the RequestDone event handlers? Thanks, --Merijn On 26 Jul 2005 1:44:16 +0100, Maurizio Lotauro [EMAIL

[twsocket] TPop3Cli is halted while receiving a message over 4 Mb

2005-07-26 Thread Stanislav Korotky
Hello All! I use TPop3Cli in my application. I thought it worked well so far, but I've just stumbled on a strange thing. The application tries to fetch new message with a size over 4 Mb. According to a progress indicator I have in the application the message is downloaded till 97% but the rest of

Re: [twsocket] TPop3Cli is halted while receiving a message over 4 Mb

2005-07-26 Thread Francois Piette
(taking into account that they disclose themselves in such a negligible, infrequent manner)? Do you mean that it doesn't always occur with the same 4MB message ? -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Stanislav Korotky [EMAIL PROTECTED] To: ICS support

Re: [twsocket] Adding gzip to HttpCli

2005-07-26 Thread Maurizio Lotauro
On 26-Jul-05 20:37:54 Xavier Le Bris wrote: Hello, Hello, [...] FGzTime is necessary, not for me, but for anyone who wants to choose the best compression level/time ratio. I think that this is the job for a test application, not for the component. You can use OnBeforeHeaderSend and OnDocEnd.

Re: [twsocket] Adding gzip to HttpCli

2005-07-26 Thread Maurizio Lotauro
On 26-Jul-05 17:47:41 Francois PIETTE wrote: [...] We already talked about RcvdCount. Yes, but we haven't still get a conclusion :-) I think I said that RcvdCount that a choice has to be made and Ithat I have no defitive answer. The idea is to break as less as possible existing code. RcvdCount

Re: [twsocket] Adding gzip to HttpCli

2005-07-27 Thread Francois Piette
I think I said that RcvdCount that a choice has to be made and Ithat I have no defitive answer. The idea is to break as less as possible existing code. RcvdCount is used for progress bar updating and should be compressed byte count. It is also used to allocate storage (or similar use) for data

Re: [twsocket] TPop3Cli is halted while receiving a message over 4Mb

2005-07-27 Thread Stanislav Korotky
(taking into account that they disclose themselves in such a negligible, infrequent manner)? Do you mean that it doesn't always occur with the same 4MB message ? Yes. Today the program fetches the same message (it remains on a server) successfully (several times for testing). Now I can't

Re: [twsocket] TPop3Cli is halted while receiving a message over 4Mb

2005-07-27 Thread Arno Garrels
Stanislav Korotky wrote: (taking into account that they disclose themselves in such a negligible, infrequent manner)? Do you mean that it doesn't always occur with the same 4MB message ? Yes. Today the program fetches the same message (it remains on a server) successfully (several times

Re: [twsocket] HttpCli StatusCode = 0 causes problems

2005-07-27 Thread Merijn Terheggen
I'm trying to write a spider that collects web pages. In the LocationChange event, I check the properties of the new location. For instance: - Is the new location a URL that is present on a black-list of banned URL's or domains? - Is there a robots.txt file for the new location? - Other

Re: [twsocket] HttpCli StatusCode = 0 causes problems

2005-07-27 Thread Maurizio Lotauro
Scrive Merijn Terheggen [EMAIL PROTECTED]: I'm trying to write a spider that collects web pages. In the LocationChange event, I check the properties of the new location. For instance: Ok, nothig strange that can interact with the message queue. Francois, I reproduced the problem using

Re: [twsocket] Adding gzip to HttpCli

2005-07-27 Thread Maurizio Lotauro
Scrive Francois Piette [EMAIL PROTECTED]: [...] I doubt that RcvdCount could be used to allocate storage. The body data will be put into RcvdStream that is a stream, and normally a stream is able to allocate the storage itself. RcvdStream is not the only way to get data from the

Re: [twsocket] Adding gzip to HttpCli

2005-07-27 Thread Francois PIETTE
I doubt that RcvdCount could be used to allocate storage. The body data will be put into RcvdStream that is a stream, and normally a stream is able to allocate the storage itself. RcvdStream is not the only way to get data from the component. Some (many ?) applications sue OnDocData

Re: [twsocket] Adding gzip to HttpCli

2005-07-27 Thread Maurizio Lotauro
Scrive Francois PIETTE [EMAIL PROTECTED]: RcvdStream is not the only way to get data from the component. Some (many ?) applications sue OnDocData event to get data on the fly. In that case the decompression should be made completly by the application, or should we add some

[twsocket] [OT] OverByte Home

2005-07-27 Thread Francois PIETTE
Do you know Google Earth (http://earth.google.com/) ? If you have installed it, you can open the attached document and find where OverByte Home is. Really ! I'm located in a high resolution area. You can really see my house, my garden,... To really see my house, you have a picture on the

Re: [twsocket] [OT] OverByte Home

2005-07-27 Thread Francois PIETTE
Well, something went wrong with the attached document. I've uploaded it at: http://www.overbyte.be.arch/OverByteHome.kmz (This is a kind of hyperlink for Google Earth). -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Francois PIETTE [EMAIL PROTECTED] To:

Re: [twsocket] Monitor sockets components

2005-07-28 Thread Angus Robertson - Magenta Systems Ltd
*Subject:* Re: [twsocket] Monitor sockets components *From:* Maurizio Lotauro [EMAIL PROTECTED] The source and executables are available from: http://www.magsys.co.uk/download/software/monsock1.zip I downloaded it today, but I see only one executable. Sorry, the latest version did not

[twsocket] - problem re-estableshing a connection

2005-07-28 Thread Victor Ayala
hi, this is my problem: in the client side, we make a connection and receive a lot of data (without a problem), when all the data is recolected we close the connection. Few seconds later, we reconnect and we can send data but we don´t recieve anything. The status is correct: wsConnected, but no

Re: [twsocket] - problem re-estableshing a connection

2005-07-28 Thread Francois Piette
this is my problem: in the client side, we make a connection and receive a lot of data (without a problem), when all the data is recolected we close the connection. Few seconds later, we reconnect and we can send data but we don´t recieve anything. The status is correct: wsConnected, but no

Re: [twsocket] [OT] OverByte Home

2005-07-29 Thread Maurizio Lotauro
On 27-Jul-05 19:05:28 Francois PIETTE wrote: Well, something went wrong with the attached document. I've uploaded it at: http://www.overbyte.be.arch/OverByteHome.kmz (This is a kind of hyperlink for Google Earth). This doesn't work for me. Bye, Maurizio. -- To unsubscribe or change your

Re: [twsocket] Adding gzip to HttpCli

2005-07-29 Thread Xavier Le Bris
Xavier, have you any reason to assign to FLastResponse? No important reason Xavier -- 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

[twsocket] FTP Client - Size() Function

2005-07-30 Thread Keith Willis
Dear All, Is there a bullet-proof way to get a remote File Size using the TFTPClient component? I noted the following documentation on the FEAT command in the FTPCli.pas unit... FEAT Command - numerous extensions have been made to the FTP protocol over the past few years, although support of

Re: [twsocket] FTP Client - Size() Function

2005-07-30 Thread Francois PIETTE
Ise Size method. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Keith Willis [EMAIL PROTECTED] To: twsocket@elists.org Sent: Saturday, July 30, 2005 11:44 AM Subject: [twsocket] FTP Client - Size() Function Dear All, Is there a bullet-proof way to get a

Re: [twsocket] FTP Client - Size() Function

2005-07-30 Thread Angus Robertson - Magenta Systems Ltd
Is there a bullet-proof way to get a remote File Size using the TFTPClient component? FEAT Command - numerous extensions have been made to the FTP protocol over the past few years, although support of these new commands is very sporadic. RFC2389 describes the FEAT command, which

[twsocket] Using TPop3Cli

2005-07-30 Thread Дмитрий Андреев
Hello, I try using TPop3Cli. Code like this don`t working: void MyProc() { ... Pop3Cli-Connect(); WaitForSingleObject(hEvent,Pop3TimeOut); Pop3Cli-User(); WaitForSingleObject(hEvent,Pop3TimeOut); Pop3Cli-Pass(); WaitForSingleObject(hEvent,Pop3TimeOut); ... } void __fastcall

Re: [twsocket] Using TPop3Cli

2005-07-30 Thread Wilfried Mestdagh
Hello Äìèòðèé, You have to do next action in OnRequestDone. TPop3Cli is asynchronous doing the work in background while your application can go on with other things to do. Just do a switch (RqType) in the requestdone for the next action. No need for all that sequentinal progrmming :) --- Rgds,

Re: [twsocket] FTP Client - Size() Function

2005-07-31 Thread Frank Wunderlich
Angus Robertson - Magenta Systems Ltd schrieb: The only bullet proof way is use CWD and DIR to get a directory listing, and parse it (many different formats) to get the file size. These commands are supported by all FTP servers. is there any parsing routine available which works for

[twsocket] [TMimeDec] Boundary detection optimization

2005-07-31 Thread Piotr Hellrayzer Dałek
Hi! There's possible optimization. Since all MIME boundaries start with -- (=$2D2D), we could check whether FCurrentData points to two dashes instead of copying whole data line, switching to lowercase and then comparing: procedure TMimeDecode.ProcessWaitBoundary; { ##ERIC } var t :

[twsocket] [TMimeDec] Preamble and Epilogue

2005-07-31 Thread Piotr Hellrayzer Dałek
Hi! TMimeDec does NOT ignore MIME preamble and epilogue, so it fails to decode correctly complex multipart message from RFC 2049 Appendix A. Specifically, when it sees ending boundary (--boundary--) it starts another part. Disabling preamble parsing as text/plain is very simple, just have to

Re: [twsocket] [TMimeDec] Preamble and Epilogue

2005-08-01 Thread Francois Piette
Piotr, Can you provide an enhanced unit with your fixes ? Remember that the fixes should not break existing code ! -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: Piotr Hellrayzer Da³ek [EMAIL PROTECTED] To: TWSocket twsocket@elists.org Sent: Saturday, July 30,

Re: [twsocket] Adding gzip to HttpCli

2005-08-01 Thread Maurizio Lotauro
On 30-Jul-05 01:54:44 Maurizio Lotauro wrote: On 28-Jul-05 08:34:58 Francois Piette wrote: Do you want that the data passed to OnDocData is decompressed? Yes I do. Are you really sure? Ok Ok, I'll try to do it :-) Done. Now I have some points that I would like to discuss. a) Exception in

[twsocket] Fw: Update for HTTP Content Coding

2005-08-02 Thread Francois PIETTE
From: Maurizio Lotauro in this update the OnDocData is involved in the decompression. I post some question to the ML so we can discuss with other people. I have uploaded Maurizio code at http://www.overbyte.be/arch/dump/HttpContCod.zip -- [EMAIL PROTECTED] http://www.overbyte.be -- To

<    1   2   3   4   5   6   7   8   9   10   >