Re: [twsocket] How to install V8?

2013-05-19 Thread Arno Garrels
On Sunday, May 19, 2013 1:12 AM [GMT+1=CET], Perry Kappetein schrob: > I have V8 Beta installed, but how to install the Firemonkey version? > > Seems like I need to install the CommonXE4Design but I cannot > install that one. > Unless I am missing something here > I am able to compile the XE4Ru

Re: [twsocket] ICS Stable for 64bits?

2013-05-17 Thread Arno Garrels
On Thursday, May 16, 2013 11:05 PM [GMT+1=CET], Eric Fleming Bonilha schrob: > Hello! > > I would like to know if ICS is already stable for 64bits development. I'm pretty sure it is. Try the the demos including SSL/TLS they do work. > I`m porting my system to 64bits and I updated to ICS8, but

Re: [twsocket] EnterCriticalSection(SslCritSect) called afterFinalization calls DeleteCriticalSection(SslCritSect)

2013-05-11 Thread Arno Garrels
John Reid wrote: > I should have included that the app was written as a form app but we > recently modified it to not display the form removing the > Application.Run call in the DPR and executing a method instead: > > Application.CreateForm(TForm1, Form1); > Form1.RunApplication; //Application.R

Re: [twsocket] EnterCriticalSection(SslCritSect) called afterFinalization calls DeleteCriticalSection(SslCritSect)

2013-05-11 Thread Arno Garrels
John Reid wrote: > The Finalization > section calls DeleteCriticalSection(SslCritSect). > TComponent.DestroyComponent calls the destructor of all its > components. Those destructors ultimately call UnloadSsl and this > method uses EnterCriticalSection(SslCritSect) and > LeaveCriticalSection(SslCrit

Re: [twsocket] XE4 install fails

2013-04-26 Thread Arno Garrels
Stefan Paege wrote: > Hi, > > I just installed RAD Studio XE4 into a brand new VM (WIN64) > > After that I tried to install ICS V8 (downloaded about an hour ago). > I opened Dxe4InstallVclFmx.groupproj and then tried to compile > IcsVclDXE4Run but got a fatal error > > [dcc32 Fatal Error] IcsCom

Re: [twsocket] Problem with DataAvailable (similar) [fixed]

2013-03-26 Thread Arno Garrels
Pascal Chapon wrote: > Okay, everything is fine if I do it with a PostMessage and process > the non-blocking loop in a separate procedure. Yes, that is the solution. Not to call the message pump in event handlers is one of the Ten Coding Commandments, not just in ICS. -- Arno -- To unsubsc

Re: [twsocket] error XE3 in combination with ICS v8

2013-03-23 Thread Arno Garrels
Ruud Kerstens wrote: > Hi Arno, > > It works like a sunshine!! > > Thanks for the quick and helpful response! You are welcome, in ICSv8 we want to support IPv6 that requires the winsock2 API. EMBT's Winsock.pas just supports old winsock1 and even the newer Winapi.Winsock2.pas doesn't support IP

Re: [twsocket] error XE3 in combination with ICS v8

2013-03-23 Thread Arno Garrels
Ruud Kerstens wrote: > > Len := Lstn.ReceiveFrom(@Buffer, SizeOf(Buffer), Src, SrcLen); > This last line gives me the error-message E2033. If Winsock is part of the uses clause replace it by OverbyteIcsWinsock. -- Arno -- To unsubscribe or change your settings for TWSocket mailing list please

Re: [twsocket] Problem with DataAvailable (similar)

2013-03-23 Thread Arno Garrels
Pascal Chapon wrote: > Any idea? Do you call the message pump directly or indirectly, for instance, Application.ProcessMessages or ShowMessage() in one of the ICS event handlers? -- Arno -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi

Re: [twsocket] delay in data

2013-03-22 Thread Arno Garrels
rajesh gupta wrote: > Dear , > I mean Live data == delay . The changes I am observe on > server machine in grid is not reflecting on > client connected to server machine . i.e. data coming on the > client machine 2- 10 seconds delay . As Matt wrote before, or try to set wsoNoRe

Re: [twsocket] delay in data

2013-03-20 Thread Arno Garrels
rajesh gupta wrote: > Dear All > > TWSocket I am using TWSocket as serversocket and sending realtime > data to the client on internet on > windows application . but the data on client side is not live . Ehm, how could it ever be live? What is your expection? -- Arno -- To unsubscribe or c

Re: [twsocket] Error in ICS component [fix]

2013-03-15 Thread Arno Garrels
This should fix the EReadError with message 'Error reading HtmlSmtpCli.TimeOut:Property TimeOut does not exist'. Search the following lines in OverbyteIcsSmtpProt.pas: {$IFDEF USE_SSL} THtmlSmtpCli = class(TCustomSslSmtpCli) {$ELSE} THtmlSmtpCli = class(TSmtpCli) {$ENDIF USE_SSL} Change

Re: [twsocket] Simultaneous TPing request using multithread.

2013-03-03 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: >> ICS V8 supports FireMonkey (Windows and OS X), if you do not want >> to support it please no not add you contribution to ICS V8. > > And ping and icmp don't currently work on OS X anyway, they should not > have been in the FireMonkey packages in the

Re: [twsocket] Simultaneous TPing request using multithread.

2013-03-02 Thread Arno Garrels
- Original Message - From: "Angus Robertson - Magenta Systems Ltd" To: Sent: Saturday, March 02, 2013 7:29 PM Subject: Re: [twsocket] Simultaneous TPing request using multithread. > Unfortunately Arno decided it would not work on FireMonkey It is a fact that it did not work. > (abo

Re: [twsocket] Error with HtmlMail demo

2013-02-27 Thread Arno Garrels
use the error you reported. -- Arno > Tim > > > -- > > Message: 2 > Date: Tue, 26 Feb 2013 17:35:23 +0100 > From: "Arno Garrels" > Subject: Re: [twsocket] Error with HtmlMail demo > To: "ICS support mailing" > Me

Re: [twsocket] Error with HtmlMail demo

2013-02-26 Thread Arno Garrels
Tim West wrote: > Hi, > > I have just been looking at the HtmlMail demo as I need to test out > embedding images in an html email. > > The demo loads fine in to Delphi XE3 and then compiles without any > issues. However, as soon as I try and run it I get an error saying > "Exception EReadError in

Re: [twsocket] ICS V8 Linker problem when installing on XE3

2013-02-25 Thread Arno Garrels
Mark Morrison wrote: > Hi: > > > > When I try to build IcsVclCBXE3Run.bpl with C Builder XE3, I get the > following linker errors: > > > > [ilink32 Error] Error: Public symbol for EXPDEF '@System@Generics > @Collections@%TEnumerator__1$p30System@Classes@TCollectionItem%@DoGetCurrent$qqrv' > n

Re: [twsocket] IPv6 support on TPing

2013-02-13 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: > Ping IPv6 seems to be working now, do you want to test it? > > Trace Route to: ipv6.google.com > Ping of 56 bytes took 29 msecs > 1 0ms 2a01:348:6:68c::2 PC19 > 2 8ms 2a01:348:6:68c::1 gw-1677.lon-02.gb.sixxs.net > 311ms

Re: [twsocket] Delphi XE3 - Installing ICS for OSX32

2013-02-11 Thread Arno Garrels
Dergen wrote: > Yes, I opened "DXe3InstallVclFmx.groupproj" and I have found > my"bplIcsCommonDXE3Run.dylib" in the same folder as you. and theres also a matching IcsCommonDXE3Run.dcp in C:\Users\Public\Documents\RAD Studio\10.0\Dcp\OSX32 with the same current date? > What should I do to fix my

Re: [twsocket] Problem with DataAvailable

2013-02-09 Thread Arno Garrels
Robert Dorn wrote: > Hello > > (sorry, my english is not soo good ;) ) > > I have a client and a server program and i use binary mode. The > communication between the both programs > works great. But after a few time one of the programs no longer call > the OnDataAvailable event. But still sendin

Re: [twsocket] Delphi XE3 - Installing ICS for OSX32

2013-02-09 Thread Arno Garrels
Dergen wrote: > I installed without problems the Win32 and Win64. for OSX32 I started > compiling "bplIcsCommonDXE3Run.dylib", and then I tried without > success to compile the package "bplIcsFmxDx3Run.dylib". That is the right order and should work. Have you opened the DXe3InstallVclFmx.grouppr

Re: [twsocket] Delphi XE3 - Installing ICS for OSX32

2013-02-09 Thread Arno Garrels
Marc Charbonneau wrote: - [dccosx Erreur fatale] IcsCommonDXE3Run.dpk(1): E2225 Le package jamais compilé 'IcsCommonDXE3Run' doit être recompilé - [dccosx Erreur fatale] IcsFmxDXE3Run.dpk(54): E2202 Package 'IcsCommonDXE3Run' requis non trouvé >> Anyway my french isn't good enou

Re: [twsocket] HTTPS problem

2013-02-08 Thread Arno Garrels
Wilfried Mestdagh wrote: > It is an old application written in Delphi 7. No problem since both ICSv7 and ICSv8 still support Delphi 7. -- Arno -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our web

Re: [twsocket] Delphi XE3 - Installing ICS for OSX32

2013-02-08 Thread Arno Garrels
Arno Garrels wrote: > Dergen wrote: >> Hello, >> >> Excuse my English, I'm French. >> >> I can not seem to compile the following package: >> >> "bplIcsFmxDx3Run.dylib" >> >> >> These are the error messages I then we

Re: [twsocket] Delphi XE3 - Installing ICS for OSX32

2013-02-08 Thread Arno Garrels
Dergen wrote: > Hello, > > Excuse my English, I'm French. > > I can not seem to compile the following package: > > "bplIcsFmxDx3Run.dylib" > > > These are the error messages I then well yet what have compiled this > package just before: > > - [dccosx Erreur fatale] IcsCommonDXE3Run.dpk(1): E2

Re: [twsocket] HTTPS problem

2013-02-06 Thread Arno Garrels
Arno Garrels wrote: > If you send that file to me as PM > I'll take a look at it when > I have some minutes, Hello Wilfried, Received your log thanks, it looks strange! When I try to Post some nonsense data to your URL it works as expected (404 return). Strange is that the se

Re: [twsocket] HTTPS problem

2013-02-05 Thread Arno Garrels
Wilfried Mestdagh wrote: > I set IcsLogger, but I'm not sure what I should conclude from this > log. I'm not HTTPS experience :( Can someone say what possible go > wrong seeing this log? >From what you posted in your previous mail there's no SSL stuff included in the log, check your IcsLogger Log

Re: [twsocket] ...SMTPClient

2013-01-26 Thread Arno Garrels
Raymond Kennington wrote: > Hello. > > One of my developed has been using this component to send messages > for 13 years. > No problems! Thanks!! > > Now I am incorporating the code into another project, and I would > rather use Bcc instead of cc - because I don't want the receiver to > know who

Re: [twsocket] TSslSmtpCli...

2013-01-25 Thread Arno Garrels
zayin wrote: > Hello, > > I have seen TSslSmtpCli mentioned a couple of places but very little > data. Does such a thing exist? Is it part of the ICS-SSL suite? It is part of ICS since v7. > I am currently using TSmtpCli and TPop3Cli for some very light email > notifications. The need to suppor

Re: [twsocket] IPv6 support on TPing

2013-01-24 Thread Arno Garrels
Mauro Ubeda wrote: > Hello! > I'm doing some eval of this components but i found that the TPing > component doesn't support IPv6 at the moment (ICS version 8). > Am i right? Yes, you are right. -- Arno -- To unsubscribe or change your settings for TWSocket mailing list please goto http://list

Re: [twsocket] Authentication broken or has problems with HTTP/1.1?

2013-01-21 Thread Arno Garrels
Albert Wiersch wrote: > Please have a look at this issue: > http://www.htmlvalidator.com/CSEForum/viewtopic.php?f=1&t=1729 > > Does anyone have any idea why authentication might work with HTTP/1.0 > but not HTTP/1.1? Could the problem be on the ICS end or is it more > likely to be a server issue?

Re: [twsocket] TWSocket Digest, Vol 507, Issue 5

2013-01-11 Thread Arno Garrels
Markus Humm wrote: > Re: [twsocket] TWSocket Digest, Vol 507, Issue 5 Please use the correct subject when you replay. -- Arno -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.

Re: [twsocket] Wait for

2013-01-11 Thread Arno Garrels
David Loncarek wrote: > Using HTTPCLI AsyncGET how main thread wait for the Async to download > the html code. Take a look at procedure THttpCli.DoRequestSync() in unit OverbyteIcsHttpProt.pas, which handles the synchronous methods of THttpCli. > Code relies on input html code. If i sleep the

Re: [twsocket] TWSocket Digest, Vol 507, Issue 5

2013-01-11 Thread Arno Garrels
Markus Humm wrote: >> Hello! >> >> Using HTTPCLI AsyncGET how main thread wait for the Async to >> download the html code. >> Code relies on input html code. If i sleep the main ui thread it will >> become frozen. >> >> I know how to get HTML with Async via Events but i have no idea how >> progra

Re: [twsocket] [FEATURE REQUEST] - Certificate from Windows store

2013-01-09 Thread Arno Garrels
marius gabi wrote: > Hello > > Do you believe that in the near future will be added to > ICS the functionality to use a certificate directly from Windows > store? I do not believe so, at least *I* will not add it in the near future. I think that ICS OpenSSL source has to be made OpenSSL-Engine c

Re: [twsocket] UDP Problem

2013-01-07 Thread Arno Garrels
Jack Moran wrote: > That's probably my problem. How do I install ICS? I'm just adding > files to the project. > > I'm using Delphi XE2 and ICS Gold. Quoted from ReadMe7.txt: {code} INSTALLATION USING THE INSTALL PROJECT GROUPS For each Delphi and C++ Builder version one project group is provide

Re: [twsocket] UDP Problem

2013-01-07 Thread Arno Garrels
Jack Moran wrote: > I am having a problem with OverbyteIcsUdpSend. On compilation I get a > message "Field MainForm.Wsocket" does not have a corresponding > component. Remove the declaration?" I say No, but then get an access > violation at 0x00544c24 when it tries to set Wsocket. I've tried both >

Re: [twsocket] Original way of iterating thru all the bits in an integer

2013-01-06 Thread Arno Garrels
François Piette wrote: > The final code looks like this: > > > > var > OneBit : Boolean; > begin > for OneBit in TBitIterator.Create(1234) do > Write(Ord(OneBit)); > end; > > > > You can read the article at > http://francois-piette.blogspot.be/2013/01/original-method-to-iterate-bits-w

Re: [twsocket] Changing port on ThtmlSmtpCli

2013-01-04 Thread Arno Garrels
André Michel Descombes wrote: > Hello, > > for quite a few years I have been using an application I wrote using > the THtmlSmtpCli component using the default port 'smtp'. The problem > I am encountering now is that my internet provider has decided to > block port 25 in order to avoid spam. > Is i

Re: [twsocket] Did I find a bug in THttpCli? (Beta fix availablefor download)

2012-12-31 Thread Arno Garrels
Arno Garrels wrote: > Here is a fix that is briefly tested once without proxy > and once with squid proxy and NTLM authentication in V8 only: > http://delphi.duodata.de/archive/OverbyteIcsHttpProtV7-V8.zip > These units are based on latest svn revision. > Please let us know how i

Re: [twsocket] Skype like application

2012-12-22 Thread Arno Garrels
Paul wrote: >> What's the actual problem? From a brief look the article above seems >> to describe hole punching very well, guess you just have to >> implement it accordingly (also known as work ;). > > (also known as work ;). > Yes, but I don't like to work :) > > No, seriously, I've never had t

Re: [twsocket] Skype like application

2012-12-22 Thread Arno Garrels
Paul wrote: > Hi all, > > I want to make an application to that can receive streaming camera > images using udp hole punching. > > I found this link the net, but I have no clue of how to start with it. > http://www.brynosaurus.com/pub/net/p2pnat/ > > Is there someone that can get me started with

Re: [twsocket] TSslHttpCli timeout

2012-12-21 Thread Arno Garrels
Boris Saint-Martin wrote: > Hi, > I'm using an API to send files to a VOD platform through the > TSslHttpCli component (GetAsync command). > My problem is that my connection is closed by the server due to a > timeout (504). > > The server seems not responding to my GET request before he has > fi

Re: [twsocket] How can I know the IP address?

2012-12-17 Thread Arno Garrels
David Bridges wrote: > If I have a wired local area connection and some wireless connection > how can I know which I'm connected through? If I can obtain the IP > address of the adapter I'm connected through I could tell but can't > determine how to do that. I tried GetPeerAddr() but it's returni

Re: [twsocket] SSL Context Object

2012-12-15 Thread Arno Garrels
David Loncarek wrote: > Hello! > > When trying to HTTP GET from an "https://www.example.com"; i get an > exception > > First chance exception at $7591C41F. Exception class > ESslContextException with message 'SSL requires a context object'. > Process Project1.exe (4640) That's an easy one. Hav

Re: [twsocket] Did I find a bug in THttpCli? (Beta fix available for download)

2012-12-15 Thread Arno Garrels
Arno Garrels wrote: > There are just two 'small' bugs: > 1) property Location doesn't include the port number and> 2) the Host header > lacks the port number as well which is the > reason why your php script reports port 80 though the client > actually is connec

Re: [twsocket] SSLHTTPCLI Bug

2012-12-12 Thread Arno Garrels
David Loncarek wrote: > Hello! > > When compiling and droping the design time component on the form in > XE3. Compiler sadly shows this.. Define "USE_SSL" in your project options and *Rebuild* the project compiling isn't enough after conditionals have changed. -- Arno -- To unsubscribe or chan

Re: [twsocket] Did I find a bug in THttpCli?

2012-12-12 Thread Arno Garrels
Albert Wiersch wrote: > Hi Arno, > > I tested with the ICS-V7 snapshot here: > http://wiki.overbyte.be/wiki/index.php/ICS_Download > > And it didn't work. It requested port 80 when it should have > requested port 8080. It works as expected in Firefox. Please read my previous messages in TWSocket

Re: [twsocket] Did I find a bug in THttpCli?

2012-12-11 Thread Arno Garrels
- Original Message - From: "Angus Robertson - Magenta Systems Ltd" To: Sent: Tuesday, December 11, 2012 6:33 PM Subject: Re: [twsocket] Did I find a bug in THttpCli? >> Before you try to fix/break something that works, I urge you to >> check with Wireshark that the redirection works

Re: [twsocket] Did I find a bug in THttpCli?

2012-12-11 Thread Arno Garrels
- Original Message - From: "RTT" To: "ICS support mailing" Sent: Tuesday, December 11, 2012 5:59 PM Subject: Re: [twsocket] Did I find a bug in THttpCli? > The port after the redirect is the correct 8080. I > just don't understand why the document returned is not the same as when >

Re: [twsocket] Did I find a bug in THttpCli?

2012-12-11 Thread Arno Garrels
- Original Message - From: "Angus Robertson - Magenta Systems Ltd" To: Sent: Tuesday, December 11, 2012 5:25 PM Subject: Re: [twsocket] Did I find a bug in THttpCli? >> If you GET this URL: >> http://www.htmlvalidator.com/test/cookies/test-redirect.php >> >> Then you get "Server port

Re: [twsocket] Did I find a bug in THttpCli?

2012-12-10 Thread Arno Garrels
Albert Wiersch wrote: >> From: twsocket-boun...@elists.org >> [mailto:twsocket-boun...@elists.org] On Behalf Of Arno Garrels >> >> If you just recognized that string property Location doesn't include >> the port number then that might be a bug. However relocat

Re: [twsocket] exception after THttpCli.ReqDone causes double triggerof RequestDone

2012-12-09 Thread Arno Garrels
brian - wrote: > After RequestDone with THttpCli, if there is an -unhandled- exception > before the code is out of ReqDone stack, RequestDone is triggered > again. [..] > You will see RequestDone is triggered twice, and external exception > handlers or delphi's don't trigger at all (e.g madExce

Re: [twsocket] Did I find a bug in THttpCli?

2012-12-08 Thread Arno Garrels
Albert Wiersch wrote: > If a request is redirected and contains a port number, then it seems > that the new request drops the port number. If you just recognized that string property Location doesn't include the port number then that might be a bug. However relocation works without problem for me

[twsocket] Async revival

2012-12-08 Thread Arno Garrels
Interesting: http://en.wikipedia.org/wiki/Nodejs -- Arno -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Re: [twsocket] Windows Certificates Store Usage

2012-12-06 Thread Arno Garrels
marius gabi wrote: > Hello > > Could you please let me know if there is possibility to use ICS > library in combination with certificates from Windows store. If this > possibility exists please provide me a small code demo (client > implementation). 1) It is not possible to use certificates fro

Re: [twsocket] curl_multi in ICS

2012-12-05 Thread Arno Garrels
David Loncarek wrote: > Hello! > > How can I load URL's in an array and use Async HTTP Get on all of > them at the same time. For example > thats how curl_multi works.. Take a look at the OverbyteIcsHttpAsy demo. -- Arno -- To unsubscribe or change your settings for TWSocket mailing list please

Re: [twsocket] MagFTP or ICS FTP Client

2012-12-05 Thread Arno Garrels
Mark E. Moss wrote: > address=markm...@ix.netcom.com > > > Hello > >Using either MagFTP or the ICS FTP Client how can I determine > if a File Exists on an FTP Server? > > I do not want to download it, just check if it exists. > Method Ls is what you are looking for. -- Arno

Re: [twsocket] FTP Client - Large files

2012-11-28 Thread Arno Garrels
- Original Message - From: "Angus Robertson - Magenta Systems Ltd" To: Sent: Wednesday, November 28, 2012 11:36 AM Subject: Re: [twsocket] FTP Client - Large files >> It would appear that this FTP site does not send a "FTP 226 Transfer >> Complete" for large files. > > So it's a fau

Re: [twsocket] FTP Client - Large files

2012-11-27 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: > Not sure why you using Wireshark, the FTP component has all the events > you need to log the FTP protocol, even without the logger component. I think he uses Wireshark because, and that makes sense, he wants to know whether or not the server response

Re: [twsocket] FTP Client - Large files

2012-11-26 Thread Arno Garrels
Graham Powell wrote: > The OverbyteIcsFtpTst demo suffers from the same problem. No > ftpPutAsync event generated at the end of the transfer. Interesting, Angus should know how he tweaks the ICS component to make them working. -- Arno -- To unsubscribe or change your settings for TWSocket maili

Re: [twsocket] FTP Client - Large files

2012-11-26 Thread Arno Garrels
Graham Powell wrote: > I have tried Passive, Active, ASCII and Binary modes - no difference. Have you tried with the OverbyteIcsFtpTst demo yet? -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listi

Re: [twsocket] FTP Client - Large files

2012-11-24 Thread Arno Garrels
Graham Powell wrote: > 12:52:37:143 03B6F9B0 TCustomWSocket.Shutdown 1 1824 > 12:52:37:196 >|226 File receive OK.| *** THIS IS MISSING IN THE > OTHER FTP UPLOAD *** http://www.ncftp.com/ncftpd/doc/misc/ftp_and_firewalls.html#FirewallTimeouts Comes to mind, however I wonder why it happens only wi

Re: [twsocket] FTP Client - Unicode Filenames

2012-11-19 Thread Arno Garrels
Graham Powell wrote: > I am currently testing with 3 FTP sites and none of them work with > Unicode characters. The "OPTS UTF8 ON" returns unsupported. Well, OPTS UTF8 was always unoffical, what does the FEAT command return is much more important, in latest OverbyteIcsFtpTst demo I show how to ha

Re: [twsocket] ICS FTP Client Strange Effect

2012-11-14 Thread Arno Garrels
Graham Powell wrote: > Just spotted that with Wireshark. Although Binary mode is set at > design time I remember now that I have to set "TypeBinaryAsync" after > the connection is made. Yep, I and many others had to learn this lesson as well. I vote for Binary as the default mode. -- Arno -

Re: [twsocket] ICS FTP Client Strange Effect

2012-11-14 Thread Arno Garrels
Graham Powell wrote: > I have an odd effect that I'm sure one of you clever guys will > provide an answer to. > > I am using the FTP client to put a file on the a web site. The file > format is of my own making and have no trouble reading and writing to > files to/from the hard drive. > Apart from

Re: [twsocket] Client Connect Timeout: How do I useTWSocket.TimeoutConnect?

2012-11-07 Thread Arno Garrels
Doug Billi wrote: > I want my TCP client to timeout if it can't connect within 3 seconds. Note, that if you call Connect with a host name TWSocket performs a blocking DNS lookup that cannot be canceled. Such blocking DNS lookup also prevents the timeout timer from working. In order to be able to

Re: [twsocket] Optimal number of TWSocket per thread

2012-11-07 Thread Arno Garrels
Max Terentiev wrote: > Hi Angus, > > I perform some tests but cannot send fasten than 200 megabit/sec. > > On large messages (100kb+) Looks like a bottleneck in > SmtpCli's Data/DataNext function. > > I see the code and found what DataNext send message line by line. You are right, that's indeed

Re: [twsocket] Why is TWSocket.OnDataSent being called twice?

2012-11-07 Thread Arno Garrels
Doug Billi wrote: > I've heard a lot about IOCP > and wondered how much benefit (if any) such an implementation would > have over standard asynchronous sockets. I had thoughts, yes. I even wrote a little test server however speed didn't convince me. And of course, since IOCP is Windows only i

Re: [twsocket] Why is TWSocket.OnDataSent being called twice?

2012-11-06 Thread Arno Garrels
Doug Billi wrote: > I've implemented a TWSocket client using a state machine, but after I > send the data using SendStr(), the OnDataSent() event gets fired > twice. That is normal behaviour. After a Connect two select messages are received from winsock, FD_Connect and FD_Write. The latter trig

[twsocket] New IcsThread demo shows how to use ICS in a thread (Windows and OS X)

2012-11-04 Thread Arno Garrels
It's done, I just checked in the new IcsThread demo (ICS-V8 Beta). It's located in folder PlatformDemos and in xSamples.groupproj. Will be also available in next ICS-V8 Beta Snapshot ZIP. http://wiki.overbyte.be/wiki/index.php/ICS_Download -- Arno -- To unsubscribe or change your settings for

Re: [twsocket] TWSocket in thread in FireMonkey HD app for futurecrossplatform target

2012-10-30 Thread Arno Garrels
Arno Garrels wrote: > Hoby Smith wrote: > >> However, being that this thread is in a FireMonkey HD app, I am >> unsure how to proceed. Do all the threading message pump issues >> still apply? > > Yes. In Windows anyway and in Posix there's Window's mes

Re: [twsocket] TWSocket in thread in FireMonkey HD app for future crossplatform target

2012-10-29 Thread Arno Garrels
Hoby Smith wrote: > However, being that this thread is in a FireMonkey HD app, I am > unsure how to proceed. Do all the threading message pump issues > still apply? Yes. In Windows anyway and in Posix there's Window's messaging emulated (as it's needed to not change ICS' source code too much).

Re: [twsocket] Plans for ICS and iOS?

2012-10-25 Thread Arno Garrels
Markus Humm wrote: > Hello, > > afaik pointers are still present in next gen compiler but shouldn't be > used as liberately as in the past. Only use them when necessary for > certain APIs etc. > > But where do you have this information from? It's my guess from current XE3 source code. Take a loo

Re: [twsocket] TWsocket and EStackOverflow

2012-10-24 Thread Arno Garrels
LeNif wrote: > I already try, after reading the Wiki, the Shutdown(1) procedure, > anyway, the result is the same. I try close, shutdown, abort ... etc. Try the following: >From the OnSessionClosed event handler post a custom window message and reconnect when that message is handled. -- Arno

Re: [twsocket] Plans for ICS and iOS?

2012-10-24 Thread Arno Garrels
Hoby Smith wrote: > Now that ICS supports both Windows and MAC OS X via FireMonkey (FM2), > do you have any plans to support iOS targets in the future as well? > Or, are you waiting for the future XE3/4/5.2 or whatever that will > eventually include the new native non-Win target compilers? That

Re: [twsocket] State of IP V6 support?

2012-10-23 Thread Arno Garrels
Stefan Paege wrote: > Angus, > > thank you very much for all the information. And - of course - for > all the work you and the others are investing in ICS. You are welcome, if you run into any trouble with updating your projects please do not hesitate to ask here. -- Arno -- To unsubscribe or

Re: [twsocket] BUG REPORT: Division by zero

2012-10-17 Thread Arno Garrels
Vladimir Kudelin wrote: > Therefore, I had to apply the following fix: > >if Tick = FPrevTick then >FCurSpeed := 0 >else >FCurSpeed := 8 * (FTotalCount - FPrevCount) / (Tick - > FPrevTick); Hello Vladimir, Many thanks for this, I just checked in your fix in both SVN rep

Re: [twsocket] FIX for bug in HdrEncodeInline and/or StrEncodeQPEx !!

2012-10-17 Thread Arno Garrels
Max Terentiev wrote: > I fixed a bug in the HdrEncodeInline->StrEncodeQPEx wrote about > yesterday. Hello Max, Many thanks for this, I just checked in your fix in both SVN repos, v7 and v8. So next daily snapshots will include your fix. -- Arno -- To unsubscribe or change your settings for TWS

Re: [twsocket] ADV: WebSockets server component and demo

2012-10-16 Thread Arno Garrels
Stan wrote: > Hi, > > I've create a Google code project to host WebSockets server > implementation > for ICS, accessible now at http://code.google.com/p/ics-websockets/. > The code > did not change much from March, when it was intially created and sent > to Francois. I'm not working on this now,

Re: [twsocket] TiggerSessionClosed...

2012-10-11 Thread Arno Garrels
zayin wrote: >> ..happens, for instance, _if the destination Window has been >> destroyed after the call to PostMessage > > Because the program is ending when the leak occurs that is exactly > what I think is occurring. > > So, after I close all the clients, I call now server.ProcessMessages > a

Re: [twsocket] TiggerSessionClosed...

2012-10-11 Thread Arno Garrels
zayin wrote: >> but unless is cumulative it really does not matter. > > I concur. It is just a pain. > > IMHO, there should be some step(s) to close the clients and close the > server and not have a memory leak. I've never seen that leak, anyway Close server's listening socket in order to disabl

Re: [twsocket] TSmtpCli in library: how to process events?

2012-10-10 Thread Arno Garrels
Ronald Wilmink wrote: > I have used the TSmtpCli component in applications without any > problems. But now, I need to use it in a service that calls a > function in a dll that has no Form, just units. > That function needs to send emails. > Since the component works with events that are not availab

Re: [twsocket] TiggerSessionClosed...

2012-10-10 Thread Arno Garrels
zayin wrote: > Hello, > > I have upgraded from D2007 to XE and I am now using version 7.04 of > ICS. > > When I close the socket I am getting a memory leak at line 686 in > TWSocketClient. TiggerSessionClosed. > > the line is New(PIdRec); > > I do see that if the PostMessage call fails, PIdRec

Re: [twsocket] 403 when requesting https://www.ilac.org

2012-10-09 Thread Arno Garrels
Albert Wiersch wrote: > This brings up a question that perhaps you can answer. Should I default to > downloading URLs and checking links with HTTP/1.1? Is there anything I should > know other than simply changing the version property on the component? It's just my wild guess that today there are

Re: [twsocket] 403 when requesting https://www.ilac.org

2012-10-05 Thread Arno Garrels
Albert Wiersch wrote: >> A GET works fine however a HEAD returns 403 (tested with latest >> IcsHttpsTst FireMonkey demo). > > Hi Arno, > > I tried with the HTTPS TEST and got a 403 with GET? Any ideas? This > was with XE so no FireMonkey. Try HTTP version 1.1, with 1.0 I do see the error as well

Re: [twsocket] 403 when requesting https://www.ilac.org

2012-10-05 Thread Arno Garrels
Albert Wiersch wrote: > Does anyone know why I get a 403 when requesting https://www.ilac.org > with ICS/HttpCli? A GET works fine however a HEAD returns 403 (tested with latest IcsHttpsTst FireMonkey demo). > I can open it fine in browsers. I am wondering if > it could have something to do wit

Re: [twsocket] Shutdown without OnClientDisconnect

2012-09-30 Thread Arno Garrels
Josh Leder wrote: > Hello > > I'm using ICS v7 as a SOCKS4 server. I've got a TWSocketServer > component that accepts clients, and performs beautifully in most > circumstances. The issue I'm having is that often an HTTP client will > send its request and then perform a shutdown(SD_SEND), waiting t

Re: [twsocket] FTPclient Error 426

2012-09-23 Thread Arno Garrels
Maria wrote: > In the program before we call DirectoryAsync we check to see if the > FTPClient is connected. If it is we call abort then quit. Abort followed by Quit is nonsens. Method Abort aborts the connection, command Quit however requires a connection in order to send the Quit-command to the

Re: [twsocket] Timeout during 'put' with TFtpClient

2012-09-16 Thread Arno Garrels
Steve Loft wrote: > I have an application which uploads a small file every 10 seconds > using a TFtpClient. I have the timeout set to 15 seconds. One > installation is getting a timeout every couple of minutes: The server does not seem to close the data connection after the client did send Shutdow

Re: [twsocket] ICS support for RAD Studio XE3

2012-09-07 Thread Arno Garrels
- Original Message - From: "Angus Robertson - Magenta Systems Ltd" To: Sent: Friday, September 07, 2012 5:56 PM Subject: [twsocket] ICS support for RAD Studio XE3 > Support for Delphi and C++ Builder XE3 is now available in ICS V8 beta > available from: > > http://wiki.overbyte.be/w

Re: [twsocket] TSslSmtpCli won't complete TLS on port 25

2012-08-29 Thread Arno Garrels
gjohn...@mixnym.net wrote: >> If it does work with port 587 it should work with port 25 the same >> way since both support the STARTTLS command. >> I've no idea why it doesn't work for you? > > That's been the mystery for me, Arno! Same for me, especially since both port numbers do work for me an

Re: [twsocket] TSslSmtpCli won't complete TLS on port 25

2012-08-27 Thread Arno Garrels
gjohn...@mixnym.net wrote: > On Sun, 26 Aug 2012 09:52:14 +0200, you wrote: >> >> gjohn...@mixnym.net wrote: >> Demo settings: smtp.gmail.com:25 SslVerifyPeer = unchecked SSL type = Explicit(StartSssl) >>> >>> Hi Arno, >>> >>> I'm sorry to say, I couldn't run the demo in cbu

Re: [twsocket] TSslSmtpCli won't complete TLS on port 25

2012-08-26 Thread Arno Garrels
gjohn...@mixnym.net wrote: >> Demo settings: >> smtp.gmail.com:25 >> SslVerifyPeer = unchecked >> SSL type = Explicit(StartSssl) > > Hi Arno, > > I'm sorry to say, I couldn't run the demo in cbuilder 2007. But I put > together a quick demo based on the SslMailSnd project to test for the > probl

Re: [twsocket] TSslSmtpCli won't complete TLS on port 25

2012-08-23 Thread Arno Garrels
gjohn...@mixnym.net wrote: > Hi Angus, > > On Thu, 23 Aug 2012 10:19 +0100 (BST), you wrote: >> >>> I'm having a problem with TSslSmtpCli. It won't complete a TLS >>> connection on port 25. >>> This happens regardless of the server. >> >> How many different SMTP servers? > > 6 or 8 probably--ev

Re: [twsocket] SmtpCli and sending mails in international context

2012-08-03 Thread Arno Garrels
Markus Humm wrote: > Hello, > >> Arno wrote: >> >>> Humm, Markus wrote: >>> Hello, >>> >>> fixed my Smtp problem not by specifiying UTF8 as charset and using >>> AnsiToUTF8 >> >> It's not clear how you fixed it? >> You should specify "UTF-8" as the charset if you convert mail body >> and subjec

Re: [twsocket] SmtpCli and sending mails in international context

2012-08-02 Thread Arno Garrels
Humm, Markus wrote: > Hello, > > fixed my Smtp problem not by specifiying UTF8 as charset and using > AnsiToUTF8 It's not clear how you fixed it? You should specify "UTF-8" as the charset if you convert mail body and subject line etc. to UTF-8. Also set Allow8BitChars to FALSE so any 8-bit char

Re: [twsocket] SmtpCli and sending mails in international context

2012-08-01 Thread Arno Garrels
oes this work with all > mail clients?) UTF-8 is the charset to use, that should work with all common mail clients today. In Delphi 2009+ the component automatically converts the MailMessage.Text to the Charset specified, in D2007 you have to encode the mail message text manually. --

Re: [twsocket] Ping doesn´t work for 64 bit

2012-07-21 Thread Arno Garrels
ent SVN repo or next daily/nightly download. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

[twsocket] ICS Beta V8 (aka IPv6 / FireMonkey Beta) updated

2012-05-07 Thread Arno Garrels
Hi, This is just to let you know that the directory structure of the Beta V8 aka IPv6 / FireMonkey Beta branch http://wiki.overbyte.be/wiki/index.php/ICS_Download has changed. A clean SVN check out to a new directory is recommended. The new layout is as follows: .\

  1   2   3   4   5   6   7   8   9   10   >