[twsocket] Windows Server OS vs workstation OS

2018-09-05 Thread Merijn Bosma
In several threads on this mailing list I've seen the statement that a non server version of Windows is less suited to handle many socket connections. Is there anyone who can provide some technical information about the differences between a server and non-server version of Windows with

Re: [twsocket] Idle Socket is closed even with KeepAlive under windows

2018-07-12 Thread Merijn Bosma
Do you have any software which came from the vendor which works with this device? If yes you can use WireShark to sniff the traffic and see what is being sent to avoid the connection is being closed. Merijn On 7/12/2018 13:57, Angus Robertson - Magenta Systems Ltd wrote: (reply from

Re: [twsocket] Major new REST and OAuth components

2018-05-14 Thread Merijn Bosma
Hi Angus, Thanks so much for this, I'm about to start development for an interface based on oauth2, will keep you posted. regards, Merijn On 5/3/2018 19:54, Angus Robertson - Magenta Systems Ltd wrote: SVN and the overnight zip have been updated with three new major units and two new demos

Re: [twsocket] From Indy to ICS and ICS implementation

2016-07-22 Thread Merijn Bosma
Hi MC, Short some thoughts, maybe they can help you on the way. Since ICS is async, all socket handling is done in the same thread, that means it will always be done serial and not parallel. Therefor there is no real need to put stuff in a thread list. If you receive information from a device

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

2016-02-02 Thread Merijn Bosma
Thanks for the update Angus! Merijn On 2/1/2016 20:42, Angus Robertson - Magenta Systems Ltd wrote: 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

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

2016-01-29 Thread Merijn Bosma
Hi All, 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? Thanks, Merijn On 12/8/2015

[twsocket] speed of OpenSSL

2015-11-25 Thread Merijn Bosma
Hi all, We're currently working on a client server model which uses OpenSSL for normal socket connections (TSslWSocketClient connecting to TSslWSocketServer). Currenlty, the server is used to serve content at request of the client. When we do a speed test without OpenSSL (TWSocketClient

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

2015-11-24 Thread Merijn Bosma
Hi Angus, I agree with what you are saying, but in this case this is not the problem. The only reason this app works like this, is because this seems to be the easiest way to reproduce this same issue which happens in a larger app, which does use a FIFO etc. Log clearly shows that the two

Re: [twsocket] when is OpenSSL connection ready?

2015-06-12 Thread Merijn Bosma
Asked a bit too soon it seems, I just found the PeerCert.VerifyResult, which is 0 if authentication is OK. If some can confirm this is indeed the trick that would be great. Merijn On 12/06/2015 15:58, Merijn Bosma wrote: Hi all, I'm currently setting up a connection using OpenSSL

[twsocket] when is OpenSSL connection ready?

2015-06-12 Thread Merijn Bosma
Hi all, I'm currently setting up a connection using OpenSSL for the first time. Things are going well, but I'm unsure when I can conclude (on server side) that a client is fully authenticated. I'm looking into the OnClientConnected, OnClientDisconnected and OnSSLHandshakeDone events. For a

Re: [twsocket] when is OpenSSL connection ready?

2015-06-12 Thread Merijn Bosma
Thanks Angus, that answers my question. Have a nice day! Merijn On 12/06/2015 16:13, Angus Robertson - Magenta Systems Ltd wrote: I'm currently setting up a connection using OpenSSL for the first I'm unsure when I can conclude (on server side) that a client is fully authenticated. Not sure

Re: [twsocket] issues with POSTing data to ICS HTTP server (reproducible with ICS HTTP server demo)

2014-10-21 Thread Merijn Bosma
To close this one (sort of), The problem disappears when I use the OverbyteIcsHttpSrv.pas from the zipped daily snapshot (http://wiki.overbyte.be/arch/icsv8w.zip). regards, Merijn On 03/09/2014 23:34, Merijn Bosma wrote: Hi all, For a current project I need to build an HTTP server

Re: [twsocket] issues with POSTing data to ICS HTTP server (reproducible with ICS HTTP server demo)

2014-09-04 Thread Merijn Bosma
Hi Angus, Thanks for the idea, can I upload files from software instead of using the webpage? Thanks, Merijn On 04/09/2014 13:25, Angus Robertson - Magenta Systems Ltd wrote: For a current project I need to build an HTTP server to which data can be POSTed, so I build one using

Re: [twsocket] issues with POSTing data to ICS HTTP server (reproducible with ICS HTTP server demo)

2014-09-04 Thread Merijn Bosma
Duh, looked at the page but didn't real bottom lines :\ sorry for that. No, I can't reproduce using that URL, I'm not really sure what triggers the situation (see the fact that calling TMemo.Lines.Add() seems to avoid the problem). I'm currently adding debug log into ICS, and it seems that

Re: [twsocket] issues with POSTing data to ICS HTTP server (reproducible with ICS HTTP server demo)

2014-09-04 Thread Merijn Bosma
Hi Angus, I wasn't aware the /cg was in the filename, it was there unintentionally. I've tried a number of times with this url http://www1.telecom-tariffs.co.uk/testing/uploadfile.htm?FileName=merijn.test Can you please confirm if the upload went ok? thanks, Merijn On 04/09/2014 16:30,

Re: [twsocket] issues with POSTing data to ICS HTTP server (reproducible with ICS HTTP server demo)

2014-09-04 Thread Merijn Bosma
Hi Angus, While I agree with you, the issue seems to be a little more complex. I've tried this connection over the internet, client on a remote location, server running locally. It still shows the same issue. What's ever more odd is that I switched the writing to TMemo.Lines with a sleep(),