Re: [twsocket] Can't get https://yahoo.com with latest version ofTSslHttpCli

2013-10-09 Thread Arno Garrels
On Wednesday, October 09, 2013 5:52 PM [GMT+1=CET], Angus Robertson - Magenta Systems Ltd wrote: >> Using the sample OverbyteHttpsTst application, I get the below, but >> no body content. It looks like it goes through some redirects and >> switches to http from https. > > Indeed, it switches to n

Re: [twsocket] Can't get https://yahoo.com with latest version ofTSslHttpCli

2013-10-09 Thread Arno Garrels
On Wednesday, October 09, 2013 5:33 PM [GMT+1=CET], Albert Wiersch wrote: > I just upgraded to the latest version of ICS-V8 but I still cannot > seem to get a reasonable result when fetching https://yahoo.com. Did that work with ICSv7? Is it a regression? -- Arno -- To unsubscribe or change yo

Re: [twsocket] Delphi TServerSocket vs ICS equivalent

2013-10-09 Thread Graham Powell
Yes, I guess that's possible. This is how it works at the moment. I have an array of records. Each record contains a string and an integer. The string is used to hold the incoming data and integer hold the timeout value that counts down. As data arrives it is added to the string associated with

Re: [twsocket] Delphi TServerSocket vs ICS equivalent

2013-10-09 Thread François Piette
> The data is enclosed with a standard tag format. In this case it is ., so I know when > I have received a complete message So you have a delimiter which is "". It could be sed for TWSocket LineMode. Note that you cannot have embedded messages in messages. -- francois.pie...@overbyte.be E

Re: [twsocket] Delphi TServerSocket vs ICS equivalent

2013-10-09 Thread François Piette
> Alternatively you start a timer with short interval (100 ms) when you receive data, > reset the timer each time you receive data and keep adding the data to a buffer. > Once the timer triggers you can assume you have all data. > This way it keeps working of the XML layout changes :) I don't ag

Re: [twsocket] Broadcast with several network adapters

2013-10-09 Thread Markus Humm
Thank you Arno, upgrading to V8 and trying your solution seems to work quite good. Now I only have one issue left (but that can be handled) that I get dupplicate answers. But better duplicates than none at all ;-) Greetings Markus -- To unsubscribe or change your settings for TWSocket mailing l

Re: [twsocket] Can't get https://yahoo.com with latest version of TSslHttpCli

2013-10-09 Thread Angus Robertson - Magenta Systems Ltd
> Using the sample OverbyteHttpsTst application, I get the below, but > no body content. It looks like it goes through some redirects and > switches to http from https. Indeed, it switches to non-SSL but still using port 443, and you then get an 10053 abort error. I've reproduced the same error

[twsocket] Can't get https://yahoo.com with latest version of TSslHttpCli

2013-10-09 Thread Albert Wiersch
I just upgraded to the latest version of ICS-V8 but I still cannot seem to get a reasonable result when fetching "https://yahoo.com";. Using the sample OverbyteHttpsTst application, I get the below, but no body content. It looks like it goes through some redirects and switches to http from https.

Re: [twsocket] Delphi TServerSocket vs ICS equivalent

2013-10-09 Thread Angus Robertson - Magenta Systems Ltd
> Alternatively you start a timer with short interval (100 ms) when > you receive data, reset the timer each time you receive data and > keep adding the data to a buffer. > Once the timer triggers you can assume you have all data. This way > it keeps working of the XML layout changes :) A timer

Re: [twsocket] Delphi TServerSocket vs ICS equivalent

2013-10-09 Thread Merijn Bosma
Alternatively you start a timer with short interval (100 ms) when you receive data, reset the timer each time you receive data and keep adding the data to a buffer. Once the timer triggers you can assume you have all data. This way it keeps working of the XML layout changes :) Merijn On 9-10-

Re: [twsocket] Broadcast with several network adapters

2013-10-09 Thread Arno Garrels
On Tuesday, October 08, 2013 9:58 PM [GMT+1=CET], Markus Humm wrote: > 3. I send UDP packets with a target address of 255.255.255.255 > > This works fine as long as only one network adapter is present in the > system. AFAIK a broadcast target is always a network or subnet. Hence if there are mu

Re: [twsocket] Delphi TServerSocket vs ICS equivalent

2013-10-09 Thread Graham Powell
The data is enclosed with a standard tag format. In this case it is ., so I know when I have received a complete message The message may or may not include carriage returns or line feeds. These would be removed anyway as they have no meaning within the message. Graham -Original Message---

Re: [twsocket] Broadcast with several network adapters

2013-10-09 Thread Angus Robertson - Magenta Systems Ltd
> 3. I send UDP packets with a target address of 255.255.255.255 > This works fine as long as only one network adapter is present in > the system. But with more than one Windows picks the one with a > configured gateway and doesn't send anything via the local ones > without defined gateway. With