Re: [twsocket] 64-bit Bug in OverbyteIcsWndControl

2016-01-25 Thread Angus Robertson - Magenta Systems Ltd
> I'm using the THttpServer component in Delphi XE2 Update 4 > Hotfix 1. > It was failing in TIcsWndHandler.WndProc(var MsgRec: TMessage); This 64-bit casting bug is now fixed in SVN and the overnight zip. Also a similar bug in TSmtpServer. I searched all other components but did not find any

Re: [twsocket] how to use ICS correctly

2016-01-27 Thread Angus Robertson - Magenta Systems Ltd
> Am currently using ICS for a large chat system but now my service > is getting bigger am starting to worry I not really done the > socket code best I can below is the server side for receiving > string commands There is nothing specifically wrong with your code, except the server is blocked

Re: [twsocket] FTP server example error

2016-01-28 Thread Angus Robertson - Magenta Systems Ltd
> (Sorry if this error has been found and fixed, I've looked where > I think I should and not found it.) > Windows 7 Delphi 2007 for win32 server with custom (non-ICS) FTP > client on Solaris 10 (Unix). > I'm battling with a problem on the FTP server demo. > Get File filename.ext (RETR and Serve

Re: [twsocket] ICSFTP delete file after transfer completed.

2016-01-28 Thread Angus Robertson - Magenta Systems Ltd
> I want to delete a file after succesfully uploading to ftp. > I use overbyteicsftp client and the following code: > Is this the correct approach to delete the file after complete > transfer to ftp? > if icsFtp.Put then begin > if DeleteFile(nume_fisier) then In a crude program, you can get

Re: [twsocket] ICSFTP cannot delete file after successful put. My app is locking the files

2016-01-28 Thread Angus Robertson - Magenta Systems Ltd
> Hello after successfully uploading the files to a ftp server I'm > unable to delete them. I get error 5, acces denied, This is unrelated to the FTP component. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinf

[twsocket] OpenSSL 1.0.2f support

2016-01-29 Thread Angus Robertson - Magenta Systems Ltd
OpenSSL has released new versions this week, ICS versions of OpenSSL 1.0.2f and 1.0.1r may be downloaded from: http://wiki.overbyte.be/wiki/index.php/ICS_Download These new OpenSSL versions fix a high severity issue in 1.0.2 which is fixed by setting option SSL_OP_SINGLE_DH_USE, and a low severi

Re: [twsocket] SSL problem (server stops receiving data)

2016-01-29 Thread Angus Robertson - Magenta Systems Ltd
> We've hired someone to look into this issue, this resulted in > finding the probable cause of this issue, and a fix. > It would be great if someone could sort of validate the > conclusion and fix. > If all is OK, how to get these changes into the ICS codebase? Zip any ICS units and test applic

Re: [twsocket] SSL problem (server stops receiving data)

2016-02-01 Thread Angus Robertson - Magenta Systems Ltd
> We've hired someone to look into this issue, this resulted in > finding the probable cause of this issue, and a fix. > It would be great if someone could sort of validate the > conclusion and fix. > If all is OK, how to get these changes into the ICS codebase? Your developer updated a six mont

Re: [twsocket] issue with socket ping with delphi

2016-02-03 Thread Angus Robertson - Magenta Systems Ltd
> I got a timer event that calls a socket loop of the connected > people and sends message to each client and if the client is not > found it would close the person connection to socket. problem am > having when there a lot of people online the loop seams to bug > out and give access error the

Re: [twsocket] convert from indy tcp server to ics

2016-02-07 Thread Angus Robertson - Magenta Systems Ltd
> I am confused , I try to convert my Tidtcpserver to Twsocket > I already change my client class To TwSocketclient > but my problem now is i dont know how to read commands same as > indy does Indy is a blocking synchronous library that can only be realistically used with multiple threads, since

Re: [twsocket] Generating userlist loop makes fake uers :(

2016-02-10 Thread Angus Robertson - Magenta Systems Ltd
> I looked this up and it maybe this issue here, Being a chat > system and assuming SocketServer.Client is the list of connected > users, is it possible that users are connecting and disconnecting > while you are still iterating the list of users? Assuming your server is not using any threads,

Re: [twsocket] Exception in THttpCli when server responds with Status = 0

2016-02-13 Thread Angus Robertson - Magenta Systems Ltd
> I was getting a response from an HTTP Server where the Status was > set to 0 (instead of 1xx-5xx). This was causing an exception in > my application. > > Although this is an error on the server side, shouldn't the code > be changed from: > > procedure THttpCli.GetHeaderLineNext; > [...] >

Re: [twsocket] Generating userlist loop makes fake uers :(

2016-02-13 Thread Angus Robertson - Magenta Systems Ltd
> but problem am > having if a person leaves/disconnects due to internet the list is > not built correctly so has ClientSocket0002 as name its a pain. Which you are asked about 10 days ago, have you implemented by recommendations yet? Angus -- To unsubscribe or change your settings for TWSock

Re: [twsocket] Generating userlist loop makes fake uers :(

2016-02-13 Thread Angus Robertson - Magenta Systems Ltd
> is there anyway I can contact you in real time You have my email address. But it's end of the day here now. Angus -- 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.overby

Re: [twsocket] NTLMV2 Sample Usage

2016-02-17 Thread Angus Robertson - Magenta Systems Ltd
> I used ICS to support httpCli SSL requests and now a client has > asked me if I support NTLMv2. > I looked at some of the samples and found adding the compiler > directive UseNTLMAuthentication just causes it to not compile. NTLM is only used by Windows web servers authenticating against windo

Re: [twsocket] NTLMV2 Sample Usage

2016-02-17 Thread Angus Robertson - Magenta Systems Ltd
> I looked at some of the samples and found adding the compiler > directive UseNTLMAuthentication just causes it to not compile. In OverbyteIcsHttpProt.pas, I commented out: {$IFNDEF NO_ADVANCED_HTTP_CLIENT_FEATURES} and it's {$ENDIF}, which enables NTLM and Digest authentication, and the unit

Re: [twsocket] NTLMV2 Sample Usage

2016-02-18 Thread Angus Robertson - Magenta Systems Ltd
> I've tried to enable a directory in my 2012 web server for Windows > Authentication (the current name for NTLM), but it does not seem > to make any difference, the directory is unprotected. I've probably > missed something. Simple really, you have to disable anonymous authentication before an

Re: [twsocket] ContentId in SmtpCli

2016-02-19 Thread Angus Robertson - Magenta Systems Ltd
> I'm trying to add a link in my e-mail text/body to the attached > file, and I belive I could to this with the following html tag > file > > For that, I need the ContentId of the attached file. Using > TSmtpCli, is there a way to get this ID? ContentId is an optional multipart MIME header.

Re: [twsocket] Content Disposition issue

2016-02-20 Thread Angus Robertson - Magenta Systems Ltd
> I found one small issue with attachment content-disposition field. > Sometimes it looks like: > > Content-Disposition: attachment; size=78529; filename=Image.png > > So procedure TMimeDecode.ProcessPartHeaderLine should be > changed Thanks, will fix it shortly. Angus -- To unsubscribe

[twsocket] ICS V8.23

2016-02-24 Thread Angus Robertson - Magenta Systems Ltd
There is a new ICS version today at: http://wiki.overbyte.be/wiki/index.php/ICS_Download or http://wiki.overbyte.be/arch/icsv823.zip This includes fixes for various issues reported here over the past three months, if I've missed something important please shout. USE_SSL is now defaulted sinc

Re: [twsocket] Sending / Receiving of large data

2016-02-26 Thread Angus Robertson - Magenta Systems Ltd
> Am working on a multi draw feature and I noticed when sending the > data that is stored in a stringlist via socket it don't always > draw the full image like its missing data am sending the full > string list via socket and drawing it in real time but for some > reason it don't send the full

Re: [twsocket] ICS and Let's encrypt

2016-02-26 Thread Angus Robertson - Magenta Systems Ltd
> I would like to know if I can use Let's encrypt with ICS > TSSlHttpServer ? Is there any documentation or Wiki ? Not easily at present, most of the Let's Encrypt client projects are for Linux. There are two .NET projects for Windows, not managed to make the command line version work, zero do

Re: [twsocket] ICS with FPC

2016-02-29 Thread Angus Robertson - Magenta Systems Ltd
> Does ICS supports FreePascal? > I've seen from the include file that some work has been done in > the past to > make it compatible with FreePascal but maybe that was old work. > I would like to know if you have any plans to support Lazarus and > FreePascal? ICS has supported FPC in the past, w

[twsocket] OpenSSL 1.0.2g support

2016-03-03 Thread Angus Robertson - Magenta Systems Ltd
OpenSSL has released new versions this week, ICS versions of OpenSSL 1.0.2g and 1.0.1s may be downloaded from: http://wiki.overbyte.be/wiki/index.php/ICS_Download These new OpenSSL versions fix several issues, the worst of which relate to the obsolete SSLv2 protocol which by default is no longer

Re: [twsocket] THttpCli and XML...

2016-03-08 Thread Angus Robertson - Magenta Systems Ltd
> > and I conclude that is doesn't [fully] support HTTP. > > I concur. It is a hybrid. It requires all the formatting of HTTP > ("Gets" to the device via THttpCli work without error) and XML > but, does not fully implement all the requirements. In which most of the capabilities of THttpCli are

Re: [twsocket] THttpCli and XML...

2016-03-08 Thread Angus Robertson - Magenta Systems Ltd
> >François has written a Universal Plug and Play component > > Yeah I tried it first and the device does not respond. It needs a > "discover" verb to respond. Windows uses "All", IIRC. Typical Microsoft, half baked APIs. Probably explains why it does not find all my devices, although I do tend

Re: [twsocket] How do i Send Recive Client list using Twsocketserver and Twsocket?

2016-03-08 Thread Angus Robertson - Magenta Systems Ltd
> i converted the indy client and server To TWsocket and Twsocket > server and here is the code of server after convert No idea why you want anyone to look at Indy derived code, there are several ICS samples that illustrate client server applications. Or just use the free Magenta Systems IP Log

Re: [twsocket] How do i Send Recive Client list using Twsocketserver and Twsocket?

2016-03-08 Thread Angus Robertson - Magenta Systems Ltd
> ics dont have any sample on how to send receive memory stream OverbyteIcsRecv.dpr and OverbyteIcsSender.dpr send data between each other, to send a stream you simply read part of into a buffer, send them, when the onDataSent is triggered you send more. Several ICS components send streams, HTTP

Re: [twsocket] MAGXFER43 - Error installing on XE8 - E2202 Required package 'IcsVclDXE4Run' not found

2016-03-11 Thread Angus Robertson - Magenta Systems Ltd
> I'm trying to install MAGXFER43 on delphi XE8. I've already > installed the latest ICS package. Which latest package, VCL only or VCL/FMX? Which build? > When I try to run the MagentaXferXe8run project i get "[dcc32 > Fatal Error] > MagentaXferXE8Run.dpk(38): E2202 Required package 'IcsVclD

Re: [twsocket] Method POST example

2016-03-11 Thread Angus Robertson - Magenta Systems Ltd
> I'm trying to understand how POST method works with HttpServer > component and I did not find an example. > Once POST is indicated by the HTTP server's OnPostDocument event, > how could I return an answer to client ? Same as with a GET or PUT, POST merely means the request contains content rat

Re: [twsocket] Pinging multipe hosts

2016-03-12 Thread Angus Robertson - Magenta Systems Ltd
> *Subject:* Re: [twsocket] Pinging multipe hosts > *From:* Ertan Küçüko_lu > *To:* "'ICS support mailing'" > *Date:* Sat, 12 Mar 2016 19:34:21 +0200 > > I thought, at first, that ping might be a solution. After reading > your post, I better find another way to check if client is > running. Mo

Re: [twsocket] Pinging multipe hosts

2016-03-12 Thread Angus Robertson - Magenta Systems Ltd
> 2- clients that complete ping without error, do additional test > if client software is actually running. What client software, something you wrote or different? Does it contact the web server or vice versa. Angus -- To unsubscribe or change your settings for TWSocket mailing list please g

Re: [twsocket] Pinging multipe hosts

2016-03-13 Thread Angus Robertson - Magenta Systems Ltd
> I will be writing both server and client softwares. No need for a > web server. In which case the server should only ever listen for TCP connections from clients, which open the connection and send a hello packet once a minute to prove they are alive, expecting a response so they know the serve

Re: [twsocket] Pinging multipe hosts

2016-03-13 Thread Angus Robertson - Magenta Systems Ltd
> Pretty confused and stuck at the moment. Give this to my > literally *no knowledge* of using sockets. Below is as far as it > gets. > WSocket.Connect; > Sleep(3500); // Assuming that amount of time is enough for a > local tcp connection. which is I'm afraid a perfect example of why you would

Re: [twsocket] Pinging multipe hosts

2016-03-14 Thread Angus Robertson - Magenta Systems Ltd
> Below is my code where I need to complete my pre-tests. I will > appreciate, If you can advise as to how to > manage what I am trying to do. Which does not use any ICS functions or events apart from ping, and is really beyond the scope of this mailing list which is for TWSocket support. But

Re: [twsocket] Pinging multipe hosts

2016-03-14 Thread Angus Robertson - Magenta Systems Ltd
> // PING OK. DO DIRECT TCP CONNECTION > if not TestClientConnection(ClientIP, Err) then begin > Result := '***ERROR: Client TCP connection fail.'; If you really want to do these tests from the server, this needs to become async. You create an array of TWSocket or TMagIpLog components,

Re: [twsocket] Pinging multipe hosts

2016-03-14 Thread Angus Robertson - Magenta Systems Ltd
> I have prepared two test projects. There is one TMagIpLog > component dropped on form for each project. One test project is > listening its local TCP port Impossible to say what is wrong from your partial code and lack of any attempt to log activities in the applications. You should be reportin

Re: [twsocket] Pinging multipe hosts

2016-03-14 Thread Angus Robertson - Magenta Systems Ltd
> For that reason I wrote if it is possible to make it async > earlier. Yes, put your code in the event. > I know that I can put something like "Sleep(100)" No, that will stop the thread for 100ms so nothing more happens. If you really can handle events, you can use something like this: proc

Re: [twsocket] OpenSSL 1.0.2g support

2016-03-15 Thread Angus Robertson - Magenta Systems Ltd
> I wonder should default value of TSSLContext.SslVersionMethod be > also updated to be at least sslV3, or to sslTLS_V1 The default has been sslBestVer since V8.15, which is currently the same as sslV23 but easier to understand. The next major OpenSSL release also renames it for the same reas

Re: [twsocket] TSslSmtpCli

2016-03-15 Thread Angus Robertson - Magenta Systems Ltd
> I would like to know if there is a tutorial or sample code > allowing me to use the TSslSmtpCli component. Look at the OverbyteIcsSslMailSnd sample, that might work. > work with an older version of Delphi (Delphi 6) and the > corresponding version of ICS (V5). But we no longer support V5,

Re: [twsocket] OpenSSL 1.0.2g support

2016-03-15 Thread Angus Robertson - Magenta Systems Ltd
> So is sslV23 still a safe default since support to SSLv2 was > removed? sslV23 really meant sslV23tls112 since it could support any of the SSL or TLS protocols, subject to exclusions in Options to remove specific protocols. There is new literal for the next OpenSSL release 1.1.0 to make this m

Re: [twsocket] how to send/recive Client list using twsocket client & server ?

2016-03-19 Thread Angus Robertson - Magenta Systems Ltd
> i give up i searched a lot on how to send memory stream with > Command to client i just wanted to send client list from server > to client > Client := TMyclient(Server.Client[J]); > if (SL.Count > 0) then > begin > MS := TMemoryStream.Create; > try >

Re: [twsocket] OpenSSL 1.0.2g support

2016-03-20 Thread Angus Robertson - Magenta Systems Ltd
There was some confusion in my last message about SSLv2 support with OpenSSL 1.0.2g. OpenSSL 1.0.2g and later versions do not support the SSLv2 protocol, and have removed several exports relating to SSLv2 which prevent these DLLs even being loaded by old versions of ICS. The ICS Download page ha

[twsocket] V8.25 changes

2016-03-20 Thread Angus Robertson - Magenta Systems Ltd
This block of changes is SSL improvements, in particular adding the ability for ICS SSL web server and client samples to be used to test specific SSL protocols and ciphers for compatibility. The SSL web server can be forced to use SSLv2, SSLv3, TLSv1, TLSv1.1 or TLSv1.2 to see if clients will conn

Re: [twsocket] how to send/recive Client list using twsocket client & server ?

2016-03-25 Thread Angus Robertson - Magenta Systems Ltd
> sl.text will send last inserted record to tstringlist it will not > send each client connected I'm not interested in the logic behind your program, only the aspects relating to using ICS. sl.text returns every item in the TStringList separated with CRLF, not the last record, check the Delphi

Re: [twsocket] receive a Stream via TWSocketServer

2016-03-25 Thread Angus Robertson - Magenta Systems Ltd
> How can I receive a stream of TWSocketServer with unknown length? > There is only one stream is sent. You just keep receiving the stream until the connection closes, or you detect some pre-arranged termination string in the stream, that's how MIME email works, with separators: Content-Type: mul

Re: [twsocket] receive a Stream via TWSocketServer

2016-03-26 Thread Angus Robertson - Magenta Systems Ltd
> The first four bytes in the package give the length. > The packet length is variable. > There is an example of how such a package can be received? That is an unusual scheme for streaming, so there are no examples, except perhaps HTTP chunked encoding which does something a little more complicate

Re: [twsocket] Android version of ICS?

2016-03-27 Thread Angus Robertson - Magenta Systems Ltd
> I know you guys are probably very busy, but I need to ask. > Is there any progress in an android version of ICS? > I'm fully into Firemonkey making an Android App but the Indy > component is very difficult to work with (for me anyway) > Would it be possible to give an update on the status (if an

Re: [twsocket] Android version of ICS?

2016-03-29 Thread Angus Robertson - Magenta Systems Ltd
> I understand this isn't a forum for the merits of Delphi or XE > series and up. So I'd rephrase my question. WIth what is offered > with XE and up (as mentioned at very high costs) is there a > future for ICS then? What's the point of using it if Embarcadero > supplies something that works

Re: [twsocket] Gmail--04-04-2016

2016-04-05 Thread Angus Robertson - Magenta Systems Ltd
> For several years now access to Gmail, using SSL, has been > flawless. I am using version 7. > Today access to Gmail has failed and I am unsure if it is a > temporary issue or Gmail made a change. > 501 5.5.4 HELO/EHLO argument theaddr...@gmail.com invalid, Working fine here with the latest IC

Re: [twsocket] Gmail--04-04-2016

2016-04-05 Thread Angus Robertson - Magenta Systems Ltd
> This is totally expected, the only GMail accepts POP connections > of this type is if you allow "less secure apps". My password is strong 15 characters, but I still get SMTP and POP3 access with this turned off. > If you don't want to enable this, you MUST implement two factor > authenticat

Re: [twsocket] Gmail--04-04-2016

2016-04-06 Thread Angus Robertson - Magenta Systems Ltd
> I tested up to 0.9.8x with the same result. Those versions of OpenSSL are long obsolete, no security updates for a long time, only support old protocols, etc. > Wonder if I should take the leap to V8. > Are there any know issues going from V7 to V8? > I am using Delphi XE. If you are using

Re: [twsocket] Gmail--04-04-2016

2016-04-13 Thread Angus Robertson - Magenta Systems Ltd
> Request Done Rq=0 Error=SSL Handshake failed EIcsSsleayException > Unable to load SSLEAY DLL. > Can't find SSLv2_method SSLv2_client_method SSLv2_server_method > I updated to V8.23 and OpenSSL to 1.02g. This is all explained in my posting of 3 Mar 2016 in this mailing list announcing support f

Re: [twsocket] Gmail--04-04-2016

2016-04-13 Thread Angus Robertson - Magenta Systems Ltd
> I still get Error=534 5.7.14 if the "Access for less secure apps" > is off. This Gmail error is nothing to do with SSL, it's related to the authentication used to access the server. Gmail wants clients to use OAuth, but this is not supported by ICS. This was previously discussed here a few da

Re: [twsocket] Gmail--04-04-2016

2016-04-13 Thread Angus Robertson - Magenta Systems Ltd
> Right, but you wrote: > > My password is strong 15 characters, but I still get SMTP and > POP3 access with this turned off. > > How? No idea, you'll have to ask Google support. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org

Re: [twsocket] "an archive extracted daily from the repository" is this updated?

2016-04-13 Thread Angus Robertson - Magenta Systems Ltd
> The ICS page has links to what's suposed to be a daily snapshot > of the svn, > however, comparing the files from those links to the svn I see > they are not The download page has always been: http://wiki.overbyte.be/wiki/index.php/ICS_Download where you can view the changes log for the lates

Re: [twsocket] SSL post extremely slow

2016-04-14 Thread Angus Robertson - Magenta Systems Ltd
> Are there any known issues with SslHttpCli for sending data? It seems the component still uses 8K buffers for receiving and sending data, which was fine 15 years ago when we used slow modems and 10Mb ethernet, but larger buffers would be more efficient with current internet speeds. I updated

Re: [twsocket] TCP Bridges (Dennis Siggaard)

2016-04-17 Thread Angus Robertson - Magenta Systems Ltd
> When I use a webbrowser to connect to PC1:80, it creates multiply > connections to PC1:80. (6 connections at the same time) I didn't really follow your original requirement or PC1/PC2 stuff, but I believe you are effectively writing a 'reverse proxy' and it needs to support multiple connections

Re: [twsocket] SSL post extremely slow

2016-04-18 Thread Angus Robertson - Magenta Systems Ltd
> Do you think there might be an easy solution to this coming soon? > the problem is pretty serious, I would disagree this a serious problem, it might be annoying that your ICS implementation runs slower than some other applications, but it's hardly a major show stopper. HTTP was never design

Re: [twsocket] SSL post extremely slow

2016-04-18 Thread Angus Robertson - Magenta Systems Ltd
> I think the main issue lies on OverbyteIcsHttpProt around > > while FState <> httpReady do begin > > {$IFDEF MSWINDOWS} > > if MsgWaitForMultipleObjects(0, Pointer(nil)^, FALSE, > > 1000, QS_ALLINPUT) = WAIT_OBJECT_0 then > > {$ENDIF} > > MessagePump; You never mentioned you were testin

Re: [twsocket] SSL post extremely slow

2016-04-18 Thread Angus Robertson - Magenta Systems Ltd
> Captured with Microsoft Network Monitor, non-SSL post to my > server: > Synapse: 3.8s http://pasted.co/1f69a8a8 > ICS: 46.5s All these measurements have little value when you are not comparing like with like. After my last message, I assume you have redesigned your ICS application to use asy

[twsocket] Delphi 10.1 Berlin Announced

2016-04-19 Thread Angus Robertson - Magenta Systems Ltd
RAD Studio 10.1 Berlin, Delphi 10.1 Berlin and C++ Builder 10.1 Berlin, have been announced today. Changes are listed at: http://docwiki.embarcadero.com/RADStudio/Berlin/en/What's_New ICS has been tested with Delphi 10.1 Berlin and new packages are available. The new packages have the suffix D1

Re: [twsocket] Delphi 10.1 Berlin Announced

2016-04-19 Thread Angus Robertson - Magenta Systems Ltd
Should have added there is one issue with 10.1 Berlin and ICS. The new RTL adds a TBufferedFileStream class that conflicts with an ICS class of the same name, the methods are slightly different to ours so you will get a compile error. ICS V8.23 renamed TBufferedFileStream to TIcsBufferedFileS

Re: [twsocket] SSL post extremely slow

2016-04-25 Thread Angus Robertson - Magenta Systems Ltd
> Are there any known issues with SslHttpCli for sending data? I've > observed the following: > Sending a 3MB picture to imgur: > * with ICS/OpenSSL: takes ~27 seconds Done some testing with a view to investigating this issue, but not currently sure it's worth any more time. I'm using an update

Re: [twsocket] SSL post extremely slow

2016-04-27 Thread Angus Robertson - Magenta Systems Ltd
> Memo isn't touched during the progress, only the progressbar. > Removed OnSenData event, same results. You appear to be on a Spanish RIMA (Red IP Multi Acceso) network, although trace route does not complete. Trace Route to: 83.39.166.229 Can Not Ping Host (83.39.166.229) : Request timed out

Re: [twsocket] SSL post extremely slow

2016-04-27 Thread Angus Robertson - Magenta Systems Ltd
> So I'm kinda baffled by these results, not sure what to make of it. I do know from long experience that ruling out a single PC is the first thing I do when testing stuff like this. But even then, sometimes results simply can never be explained. I have speed test downloads from my public ser

Re: [twsocket] SSL post extremely slow

2016-04-27 Thread Angus Robertson - Magenta Systems Ltd
> ** Fresh Win7 on my PC: * > - ICS: Upload Duration: 34.39 secs/132,417 chars/sec > - SYN: Upload Duration: 2.03 secs/Speed: 2,241,135 chars/sec > > ** Fresh Win10 on my PC** > - ICS: Upload Duration: 1.88 secs/ 2,427,498 chars/sec > - SYN: Upload Duration: 2.02 secs/Speed: 2,257,802 chars/sec D

Re: [twsocket] SSL post extremely slow

2016-04-27 Thread Angus Robertson - Magenta Systems Ltd
> > Does not really make sense to me, but could be down to improved > > async > > winsock with Windows 10. > Maybe related? > https://blogs.windows.com/buildingapps/2015/07/02/networking-api-i > mprovements-in-windows-10/ Probably, I seem to recall there is also a new winsock block transfer API t

Re: [twsocket] SSL post extremely slow

2016-04-28 Thread Angus Robertson - Magenta Systems Ltd
> Maybe similar performance can be achieved with the Winsock > TransmitFile and TransmitPackets functions. Yes, that's the new API I mentioned earlier. Whether it's compatible with SSL is another matter. Also major changes of that sort to ICS need commercial justification and funding. Angus

Re: [twsocket] R: Re: SSL post extremely slow

2016-04-28 Thread Angus Robertson - Magenta Systems Ltd
> But would this make sense since now Delphi include an http client? > Of course if the problem of performance is only related to http > transfer. Yes, Delphi does include an HTTP client, but it only got async capability last week with 10.1 Berlin, 20 years after ICS. I was using Windows 7 on my

[twsocket] OpenSSL 1.0.2h support

2016-05-04 Thread Angus Robertson - Magenta Systems Ltd
OpenSSL has released new versions this week, ICS versions of OpenSSL 1.0.2h and 1.0.1t may be downloaded from: http://wiki.overbyte.be/wiki/index.php/ICS_Download These new OpenSSL versions have several security fixes, two of which are considered high severity. Because these new DLLs no longe

Re: [twsocket] Need help on smtp with office365 server

2016-05-06 Thread Angus Robertson - Magenta Systems Ltd
> Recently a client has migrated all email accounts to send mail > using office365 server. > Now my programs can't send email using that server. Always get > "Error=535 5.7.3 Authentication unsuccessful" > I tried many options but always get error 553. The limited information in the log appears

Re: [twsocket] Need help on smtp with office365 server

2016-05-07 Thread Angus Robertson - Magenta Systems Ltd
> I found problem where on the configuration of SslContext. > I don't remember when I set SslVersionMethod to "SslV23", I > changed it to "SslBestVer" and the problem has disappeared. Your log appeared to show SSL had negotiated successfully, otherwise the server would not allowed you use AUTH LO

Re: [twsocket] SSL post extremely slow

2016-05-12 Thread Angus Robertson - Magenta Systems Ltd
> I still have some Windows 7 VMs, so will do more testing next > week, once the new OpenSSL stuff is finished. Not done any changes or real testing yet, except to confirm that HTTPS downloads are currently the same speed as HTTP, although one would expect the encryption overhead to slow things

Re: [twsocket] SSL post extremely slow

2016-05-12 Thread Angus Robertson - Magenta Systems Ltd
> Note that the original subject is a bit misleading, the issue is > not about ssl POST, but POST in general, whether on http or https. And my comments were mostly related to GET/POST in general, not specifically SSL which one might expect to slow things down, but not necessarily. Angus -- To

Re: [twsocket] SSL post extremely slow

2016-05-12 Thread Angus Robertson - Magenta Systems Ltd
> GET seems fine though. You mentioned changing the buffer size, > where would you do that? I've not yet looked closely at the code, once SSL is done. > I tried changing 8k to 64k in OverbyteIcsHttpProt.pas here, > but it made no difference: But then you discovered the low speeds only happene

Re: [twsocket] SSL post extremely slow

2016-05-13 Thread Angus Robertson - Magenta Systems Ltd
> Angus, could you share the upload script on your server? It's not a script, the server uses the ICS web application server component, and the upload page is Delphi code, based on the upload demo page in the ICS web server sample. Angus -- To unsubscribe or change your settings for TWSocket m

Re: [twsocket] [TWSocket]ICS8.26: undeclared identifier 'TSslEngine'

2016-05-15 Thread Angus Robertson - Magenta Systems Ltd
> *Subject:* [twsocket] [TWSocket]ICS8.26: undeclared identifier > I am not able to compile design time package. > Simply TSslEngine component cannot be found. > Generate all C++ files. Delphi or C++ packages? > I can suppress this error just by defining OPENSSL_NO_ENGINE > which is not defin

Re: [twsocket] [TWSocket]ICS8.26: undeclared identifier 'TSslEngine'

2016-05-15 Thread Angus Robertson - Magenta Systems Ltd
> Delphi package with changed linker options from generate DCU to > generate all > C++ files. However leaving original DCU also causes the error. No idea then, I've just rebuilt the unchanged Delphi 2007 packages without errors, as I do before every SVN update, so you must have changed something

Re: [twsocket] SMTP server performance

2016-05-17 Thread Angus Robertson - Magenta Systems Ltd
> Hi, I tried to use the demo OverbyteIcsSslSmtpServer and found > that the SMTP server cannot handle more than 70 clients at a > time. Many clients receive the error: "Connection rejected". Is > it possible to handle more concurrent connections? The component uses the standard SocketServer compo

[twsocket] ICS V8.27 SSL improvements

2016-05-24 Thread Angus Robertson - Magenta Systems Ltd
There is a new version of ICS in SVN, it will be zipped overnight. There are lengthy release notes in SVN and the changed units, but briefly: 1 - Support for OpenSSL 1.1.0 (due real soon, currently beta). Beware new DLL names. 2 - Allow TLS version be specified as a range of versions instead of

Re: [twsocket] SMTPServer CheckClientStatus

2016-05-26 Thread Angus Robertson - Magenta Systems Ltd
> In the TSmtpServer.CheckClientStatus procedure, it is necessary > to change the part of the code for Check for client timeout. > Instead of FTimeout,it's necessary to write Self.FTimeout Thanks, will fix in SVN next week. Angus -- To unsubscribe or change your settings for TWSocket mailing

Re: [twsocket] SMTPServer CheckClientStatus

2016-07-21 Thread Angus Robertson - Magenta Systems Ltd
> In the TSmtpServer.CheckClientStatus procedure, it is necessary > to change the part of the code for Check for client timeout. > Instead of FTimeout,it's necessary to write Self.FTimeout Now fixed in SVN. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto

[twsocket] ICS V8.30 improvements

2016-07-21 Thread Angus Robertson - Magenta Systems Ltd
There have been recent ICS bug fixes to OverbyteIcsWSocket.pas that may effect user of the web server in particular, but also other ICS applications: Corrected FCounter.FLastRecvTick not updated in DoRecvFrom or in SSL DoRecv, and FCounter.FLastSendTick not in SentTo so timeouts did not always wo

[twsocket] Mailing List

2016-07-22 Thread Angus Robertson - Magenta Systems Ltd
Apologies, it seems the mailing list has been stalled for about six weeks, but all messages now appear to have been delivered. I knew it was quiet, but the mailing list can go quiet in the summer, and I did not notice my own messages were not arriving either. It will take a couple of business day

Re: [twsocket] Version Delphi Berlin

2016-07-22 Thread Angus Robertson - Magenta Systems Ltd
> Hello, have any plans to release a version for the latest version > of dellphi, Berlin? the component will continue? 10.1 Berlin support was added to ICS several months ago. You can download ICS from GetIt in 10.1 or from: http://wiki.overbyte.be/wiki/index.php/ICS_Download Angus -- To

Re: [twsocket] TFtpClient - listing filenames using stream

2016-07-25 Thread Angus Robertson - Magenta Systems Ltd
> 1- I do need some help to list files in the FTP server I am > connecting. I want to use LocalStream (Please see below) > > 2- It_s maybe me, but I couldn_t find any sample as to > listing of files in a directory using wildcards and excluding > directories (or some how identifying

Re: [twsocket] FTPClient1 - OnError() event

2016-08-23 Thread Angus Robertson - Magenta Systems Ltd
> *Subject:* [twsocket] FTPClient1 - OnError() event > I would like to know that my command finished successfully. That > I do in OnRequestDone() event. However, there are times that > there will be errors When such a thing occurs, I get error > message displayed using OnError() event. The OnErro

[twsocket] OT: New roadmap

2016-08-23 Thread Angus Robertson - Magenta Systems Ltd
Good news is back to one new Delphi release a year, updating ICS packages twice a year was really tedious. So Godzilla with Linux server support is now due December instead of September. http://community.embarcadero.com/article/news/16418-product-roadmap-augu st-2016 I believe a lot of the I

Re: [twsocket] Compiling with SSL active changes socket behavior

2016-08-24 Thread Angus Robertson - Magenta Systems Ltd
> our software will open a SHOWMODAL dialog to the response of > a message from the server, that is parsed with our protocol > parser from within the OnDataAvailable event of the socket, and > this behavior completely broken our software because now > everytime it opens a form from within the data

Re: [twsocket] Post a file from C++ program to PHP server

2016-08-24 Thread Angus Robertson - Magenta Systems Ltd
> What is the component most adapted to upload a .xml file to a PHP > server folder with the POST method? > Is there an example somewhere ? >From the readme: OverbyteIcsHttpPg.dpr Example of THttpCli component (POST to CGI script) OverbyteIcsHttpPost.dpr Example of THttpCli component (POST), w

Re: [twsocket] [bcc32 Error] OverbyteIcsWSocket.hpp(2649): E2222 Macro expansion too long

2016-08-24 Thread Angus Robertson - Magenta Systems Ltd
> E Macro expansion too long > This seems to be a huge define for sslRootCACertsBundle in the > machine generated OverbyteIcsWSocket.hpp file We discussed this my email, while the mailing list was stalled, I'll reduce the constant size so it compiles in C++ again. Commenting it out with /*

Re: [twsocket] RES: Compiling with SSL active changes socket behavior

2016-08-24 Thread Angus Robertson - Magenta Systems Ltd
> So I think they are on holliday. No, the elists.org mailing list took a three week holiday to move servers, second time this year, without telling us first. It seems to caught up now, and all outstanding questions were answered this morning. Angus -- To unsubscribe or change your settings

Re: [twsocket] RES: Compiling with SSL active changes socket behavior

2016-08-25 Thread Angus Robertson - Magenta Systems Ltd
> Changing to postmessage it not an option right now because of all > the work involved. Reverting a well tested major bug fix for no reason is also not an option. If you need the old functionality I suggest you revert to an old version of ICS until this can be investigated properly, probably n

Re: [twsocket] sslRootCACertsBundle is tool long for C++Builder XE

2016-08-29 Thread Angus Robertson - Magenta Systems Ltd
> [BCC32 Error] OverbyteIcsWSocket.hpp(2683): E Macro expansion > too long Now fixed in V8.32. Angus -- 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] OpenSSL 1.1.0 is now supported by ICS V8.33

2016-08-29 Thread Angus Robertson - Magenta Systems Ltd
Our OpenSSL 1.1.0 DLLs are now available from the wiki page: http://wiki.overbyte.be/wiki/index.php/ICS_Download which needs ICS V8.33 from the same page or from SVN. There were a lot of SSL changes in V8.27 and since, please see the notes in wsocket. I'll post another message with more det

Re: [twsocket] help for ICS suite C++Builder BERLIN

2016-08-29 Thread Angus Robertson - Magenta Systems Ltd
> I switched from C++ Builder DS2007 to the BERLIN version. > Unfortunately, there is no ICS suite for C ++ Builder (lack of > time) what I understand. Is it possible to use the ICS suite from > Delphi in C ++ Builder? If so, how do I make this change? About a > guide I would be happy. We have

Re: [twsocket] OpenSSL 1.1.0 is now supported by ICS V8.33

2016-08-29 Thread Angus Robertson - Magenta Systems Ltd
> Could you also add GSSLEAY_DLL_IgnoreOld global variable similar > to GSSLEAY_DLL_IgnoreNew, so we could ignore old dll names for > security reasons. Good idea, I'll do that next week. However OpenSSL 1.0.2 is the current recommended long term release and will get security patches for a few m

Re: [twsocket] help for ICS suite C++Builder BERLIN

2016-08-30 Thread Angus Robertson - Magenta Systems Ltd
> I am using ics with c++ builder xe7. It is based on xe3 delivered > with the package. It is compiled without using Delphi > personality. So pure c++ builder. No Delphi installed nor rad > studio. I can share of you wished. Ideally I'd like two install groups, for VCL and VCL/FMX. and the seve

Re: [twsocket] help for ICS suite C++Builder BERLIN

2016-08-31 Thread Angus Robertson - Magenta Systems Ltd
> I posted the files directly to you. Many thanks, will look at them next week. Angus -- 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

<    1   2   3   4   5   6   7   >