[twsocket] TWsocket connection error 10048

2011-04-12 Thread RayA @ Ihug
Hi... I have got to the bottom of the Error 10048 It seems that the order in witch you assign values to the TWSocket properties when you want to open a client is important - so now I can open and close the client heaps of times with out the error 10048 being raised :-) The code I was using l

Re: [twsocket] Receive contents of remote text file over SSL

2011-04-12 Thread Dimitris Botsis
On 12/4/2011 8:36 μμ, Arno Garrels wrote: Dimitris Botsis wrote: Hi again, what I try now is get the non-SSL OverByteIcsHttpDemo, and instead "Go" button calling httpcli component, it calls an sslhttpcli component (I also added a proper sslcontext component) so code became : procedure THttpToMe

Re: [twsocket] Receive contents of remote text file over SSL

2011-04-12 Thread Arno Garrels
Dimitris Botsis wrote: > Hi again, > what I try now is get the non-SSL OverByteIcsHttpDemo, and instead > "Go" button calling httpcli component, it calls an sslhttpcli > component (I also added a proper sslcontext component) so code became > : > > procedure THttpToMemoForm.GoButtonClick(Sender: T

Re: [twsocket] Receive contents of remote text file over SSL

2011-04-12 Thread Dimitris Botsis
On 12/4/2011 7:18 μμ, Dimitris Botsis wrote: On 12/4/2011 5:12 μμ, Dimitris Botsis wrote: On 12/4/2011 5:04 μμ, Dimitris Botsis wrote: On 12/4/2011 4:40 μμ, Arno Garrels wrote: Dimitris Botsis wrote: Hi again, I use the example "OverbyteIcsHttpDmo". When I call the text file on my web server

Re: [twsocket] Receive contents of remote text file over SSL

2011-04-12 Thread Dimitris Botsis
On 12/4/2011 5:12 μμ, Dimitris Botsis wrote: On 12/4/2011 5:04 μμ, Dimitris Botsis wrote: On 12/4/2011 4:40 μμ, Arno Garrels wrote: Dimitris Botsis wrote: Hi again, I use the example "OverbyteIcsHttpDmo". When I call the text file on my web server using HTTP (as in the example) then I get the

Re: [twsocket] Receive log file text

2011-04-12 Thread Arno Garrels
daniel cc wrote: > Thanks Arno :) > I understand perfectly, > Do we have any samples about this? I do not think so. > > About the file size, > the log file can be sometimes bigger than 3mb, does that makes > problem? it normally will be around 0-3mb That's no problem, the filesize since D6/7 ma

Re: [twsocket] Receive log file text

2011-04-12 Thread daniel cc
Thanks Arno :) I understand perfectly, Do we have any samples about this? About the file size, the log file can be sometimes bigger than 3mb, does that makes problem? it normally will be around 0-3mb -Original Message- From: Arno Garrels Sent: Tuesday, April 12, 2011 4:40 PM To: ICS

Re: [twsocket] Receive contents of remote text file over SSL

2011-04-12 Thread Dimitris Botsis
On 12/4/2011 5:04 μμ, Dimitris Botsis wrote: On 12/4/2011 4:40 μμ, Arno Garrels wrote: Dimitris Botsis wrote: Hi again, I use the example "OverbyteIcsHttpDmo". When I call the text file on my web server using HTTP (as in the example) then I get the contents OK. When I use HTTPS (having added p

Re: [twsocket] Receive contents of remote text file over SSL

2011-04-12 Thread Dimitris Botsis
On 12/4/2011 4:40 μμ, Arno Garrels wrote: Dimitris Botsis wrote: Hi again, I use the example "OverbyteIcsHttpDmo". When I call the text file on my web server using HTTP (as in the example) then I get the contents OK. When I use HTTPS (having added proper sslhttpcli and sslcontect components) th

Re: [twsocket] Receive contents of remote text file over SSL

2011-04-12 Thread Arno Garrels
Dimitris Botsis wrote: > Hi again, > > I use the example "OverbyteIcsHttpDmo". When I call the text file on > my web server using HTTP (as in the example) then I get the contents > OK. When I use HTTPS (having added proper sslhttpcli and sslcontect > components) the request is sent but don't get a

Re: [twsocket] Receive log file text

2011-04-12 Thread Arno Garrels
daniel cc wrote: > Hi, > Can someone please help me out w ith a sample of how to, > send a log (text file) from client to the server? > My connection is with ICSSLServer and ICSSSLClient. That works the same way as without SSL. And it depends on your protocol. Typically you send a request to the

Re: [twsocket] Receive contents of remote text file over SSL

2011-04-12 Thread Dimitris Botsis
Hi again, I use the example "OverbyteIcsHttpDmo". When I call the text file on my web server using HTTP (as in the example) then I get the contents OK. When I use HTTPS (having added proper sslhttpcli and sslcontect components) the request is sent but don't get any contents back. Any ideas ?

[twsocket] Receive contents of remote text file over SSL

2011-04-12 Thread Dimitris Botsis
Hi all, how can i use SSLHttpCli in order to directly transfer the contents of a remote text file ? Which are filesize limitations for that ? For example, I have a file : https://www.mydomain.com/myfile.txt and want to read it directly to client. Thank you. -- To unsubscribe or change your setti

[twsocket] Receive log file text

2011-04-12 Thread daniel cc
Hi, Can someone please help me out w ith a sample of how to, send a log (text file) from client to the server? My connection is with ICSSLServer and ICSSSLClient. My client opens the connection and makes sure connection is always on. Log file is just a regular text file and not so big. I just need

Re: [twsocket] THttpCli not returning?

2011-04-12 Thread Daniele Rocchi
I work with Delphi 7 and the Timeout has never worked for me, I don't know if I was using it incorrectly but I was forced to put an external timeout because of this. Daniele On 12 April 2011 10:05, Arno Garrels wrote: > Daniele Rocchi wrote: >> I must say what Arno is talking about I experienced

Re: [twsocket] THttpCli not returning?

2011-04-12 Thread Arno Garrels
Daniele Rocchi wrote: > I must say what Arno is talking about I experienced too: the built-in > timeout doesn't work (and I only do sync calls), I didn't say that. The timeout for sync methods has been added in September 2009 and works well AFAIK. This Timeout property does not work with async m

Re: [twsocket] THttpCli not returning?

2011-04-12 Thread Daniele Rocchi
I must say what Arno is talking about I experienced too: the built-in timeout doesn't work (and I only do sync calls), this is why I created an external timeout to call the Abort. If the HttpCli component doesn't recieve anything it hangs forever. Daniele On 12 April 2011 09:13, Arno Garrels wr

Re: [twsocket] THttpCli not returning?

2011-04-12 Thread Arno Garrels
David Lewis wrote: > Arno, > > I'm running with V7 here, although possibly not the latest iteration > of it. Is there anything recently new to this component that may > affect this functionality? > > Also, I don't have an accessible TimeOut parameter that I can set. Is > this internal to the comp