Re: [twsocket] Winsock 1.1 and IPv6

2010-05-20 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: >> New API GetAddrInfo() handles both IPv4 and IPv6 but it is >> blocking. Should I try to emulate asynchron >> lookups using a thread? Ideas are welcome. > > Yes definitely, we must be consistent with everything else, no > blocking allowed in ICS! O

Re: [twsocket] Strange ICS proxy server in service app problem

2010-05-20 Thread Arno Garrels
Fastream Technologies wrote: > Yes I see but under the same computer, same Win7Pro, same 4GB RAM, > the GUI -debug- project that does exactly the same thing works very > well!! I guess both use the same ICS, isn't it? So most likely something in your service-code makes the difference. -- Arno Ga

Re: [twsocket] Strange ICS proxy server in service app problem

2010-05-20 Thread Fastream Technologies
Yes I see but under the same computer, same Win7Pro, same 4GB RAM, the GUI -debug- project that does exactly the same thing works very well!! I am trying to push the 32-bit compiler to its limits. On Thu, May 20, 2010 at 8:17 PM, Arno Garrels wrote: > Fastream Technologies wrote: > > Here is wha

Re: [twsocket] Winsock 1.1 and IPv6

2010-05-20 Thread Arno Garrels
Fastream Technologies wrote: >> >> But there's another problem with WSocket_WSAAsyncGetHostByName. >> AKAIK, this old API doesn't support IPv6. New API GetAddrInfo() >> handles both IPv4 and IPv6 but it is blocking. Should I try to >> emulate asynchron lookups using a thread? Ideas are welcome. >>

Re: [twsocket] Strange ICS proxy server in service app problem

2010-05-20 Thread Arno Garrels
Fastream Technologies wrote: > Here is what I have done more: - attached the debugger to service > process and got, > http://www.fastream.com/ics/icserror8.png ERROR_NOT_ENOUGH_MEMORY 8 (0x8) -- Arno Garrels > > Hope you can help, > > SZ > > On Thu, May 20, 2010 at 7:10 PM, Fastream Technolo

Re: [twsocket] TWSocket's problem

2010-05-20 Thread Arno Garrels
Bruce Zhao wrote: > Hello everyone: > > In my program, I created a thread to read data and put it into the > buffer, then the thread will post a message to main form and suspend > itself. When the main form receives the message, it sends the data in > buffer to the server. > > I wrote code in the

Re: [twsocket] Winsock 1.1 and IPv6

2010-05-20 Thread Angus Robertson - Magenta Systems Ltd
> New API GetAddrInfo() handles both IPv4 and IPv6 but it is > blocking. Should I try to emulate asynchron > lookups using a thread? Ideas are welcome. Yes definitely, we must be consistent with everything else, no blocking allowed in ICS! How do we test IPv6 host lookups, presumably need an

Re: [twsocket] Strange ICS proxy server in service app problem

2010-05-20 Thread Fastream Technologies
Here is what I have done more: - attached the debugger to service process and got, http://www.fastream.com/ics/icserror8.png Hope you can help, SZ On Thu, May 20, 2010 at 7:10 PM, Fastream Technologies wrote: > Hello, > > When under stress test, the service -project- crashes and needs a Task >

Re: [twsocket] Winsock 1.1 and IPv6

2010-05-20 Thread Fastream Technologies
On Thu, May 20, 2010 at 7:42 PM, Arno Garrels wrote: > Angus Robertson - Magenta Systems Ltd wrote: > >> There's an option to dynamically load a different winsock version at > >> runtime (see properties ReqVerHigh and ReqVerLow). > >> However loading v2.x requires winsock2 headers, and if we want

Re: [twsocket] Winsock 1.1 and IPv6

2010-05-20 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: >> There's an option to dynamically load a different winsock version at >> runtime (see properties ReqVerHigh and ReqVerLow). >> However loading v2.x requires winsock2 headers, and if we want IPv6 >> we must use winsock2 API. I think I'll keep these two

[twsocket] XMLRPC client?

2010-05-20 Thread Dave Baxter
Hi... Anyone got or know of a simple (like minimal bagage) XMLRPC client tool, component or unit for Delphi 7 with ICS? I would like to interact with this... http://www.w1hkj.com/Fldigi.html It's a HF Radio data modem application, that works very well as a stand alone app, but can also be used a

[twsocket] TWSocket's problem

2010-05-20 Thread Bruce Zhao
Hello everyone: In my program, I created a thread to read data and put it into the buffer, then the thread will post a message to main form and suspend itself. When the main form receives the message, it sends the data in buffer to the server. I wrote code in the OnDataSent event of TWSocket to r

[twsocket] Strange ICS proxy server in service app problem

2010-05-20 Thread Fastream Technologies
Hello, When under stress test, the service -project- crashes and needs a Task manager kill with more than 5,860 connections. When I use the same source with GUI project, it easily scales up to 20,000 connections. Any idea what we should be taking care of that we have not?? Thanks, SZ -- To unsub

Re: [twsocket] HTTP Location

2010-05-20 Thread Angus Robertson - Magenta Systems Ltd
> It is not clear to me from the spec, but if it makes the express > assertion that it "SHOULD" give the new URI in the response to > non-HEAD requests, by omission it seems to me that it then "MUST" > do so for HEAD. It's not unusual for servers to treat HEAD differently, I had to fix the ICS

[twsocket] ANN: ICS-based Proxy Server BETA with SNI support and OpenSSL 0.9.8n available

2010-05-20 Thread Fastream Technologies
Hello, If you want to be a beta tester, I can offer you 40% discount once the beta is ready to be released. I believe this will all take about a week time. What's new in IQ Proxy Server 3.3.0B1: - SNI support for SSL listener of reverse proxy - OpenSSL DLLs upgraded to the latest fix version 0.9.

Re: [twsocket] HTTP Location

2010-05-20 Thread Stanislav
Not exactly what I said ;-) I said that irrespective to what RFC could imply, some sites intentionally use redirection to the same location, and the site (server) should normally prevent endless looping. If it's not, than indeed a client should protect itself - whether it is implemented in HttpP

Re: [twsocket] HTTP Location

2010-05-20 Thread DZ-Jay
On May 20, 2010, at 05:59, Angus Robertson - Magenta Systems Ltd wrote: >> The temporary URI SHOULD be given by the Location field in the >> response. Unless the request method was HEAD > > I am using the HEAD method, this is a web site checker confirming 1,500 > URLs in a database still exist e

Re: [twsocket] HTTP Location

2010-05-20 Thread Angus Robertson - Magenta Systems Ltd
> The temporary URI SHOULD be given by the Location field in the > response. Unless the request method was HEAD I am using the HEAD method, this is a web site checker confirming 1,500 URLs in a database still exist each week... I'll try GET. Angus -- To unsubscribe or change your settings for

Re: [twsocket] HTTP Location

2010-05-20 Thread DZ-Jay
On May 20, 2010, at 05:12, Angus Robertson - Magenta Systems Ltd wrote: > Is it valid for an HHTP header to relocate to an empty URL? > > Currently, HttpProt seems to parse the relocation to the same URL, and > goes into a loop. > > < HTTP/1.1 302 Found > < Location: http:// > > Temporary

Re: [twsocket] HTTP Location

2010-05-20 Thread Stanislav
Hi, Angus, I'm not sure if it's valid, but it is used by server-side scripts for assigning some cookies and reloading the same page under new conditions: Location: / It's up to the site to prevent looping. Stan - Original Message - From: "Angus Robertson - Magenta Systems Ltd" To:

Re: [twsocket] Winsock 1.1 and IPv6

2010-05-20 Thread Angus Robertson - Magenta Systems Ltd
> There's an option to dynamically load a different winsock version at > runtime (see properties ReqVerHigh and ReqVerLow). > However loading v2.x requires winsock2 headers, and if we want IPv6 > we must use winsock2 API. I think I'll keep these two properties as > dummies, they would no longer w

[twsocket] HTTP Location

2010-05-20 Thread Angus Robertson - Magenta Systems Ltd
Is it valid for an HHTP header to relocate to an empty URL? Currently, HttpProt seems to parse the relocation to the same URL, and goes into a loop. < HTTP/1.1 302 Found < Location: http:// Temporary Redirection: http://www.telecomstrader.com/ to: http://www.telecomstrader.com/ Angus -- To

Re: [twsocket] Winsock 1.1 and IPv6

2010-05-20 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: >> I'm going to look at how to implement IPv6 in ICS and wonder >> if support for winsock below v2.2 was actually required in >> ICS v7? > > No, I don't believe ICS v6 and v7 need to support any OSs earlier than > Windows 2000, since they are long out o

Re: [twsocket] Winsock 1.1 and IPv6

2010-05-20 Thread Angus Robertson - Magenta Systems Ltd
> I'm going to look at how to implement IPv6 in ICS and wonder > if support for winsock below v2.2 was actually required in > ICS v7? No, I don't believe ICS v6 and v7 need to support any OSs earlier than Windows 2000, since they are long out of support and there is no need for them to support ne