[twsocket] Connection Timeout

2010-10-11 Thread Olaf van der Meer
Hello, Recently we have updated the ICS components and now we have some problems with the webserver. In the old version every time a browser makes a request to the webserver a new connection were created and connected, and afterwards the connection were disconnected and destroyed. In the new

Re: [twsocket] Connection Timeout

2010-10-11 Thread Arno Garrels
Olaf van der Meer wrote: Hello, Recently we have updated the ICS components and now we have some problems with the webserver. In the old version every time a browser makes a request to the webserver a new connection were created and connected, and afterwards the connection were

Re: [twsocket] Connection Timeout

2010-10-11 Thread Francois PIETTE
now we have some problems with the webserver. So the problem is: the old connection is reused and it contains data which could not belong to the request. What do you mean by it contains data ? The component handling a connection do not contain any data unless you added the data yourself and

Re: [twsocket] Connection Timeout

2010-10-11 Thread Olaf van der Meer
Hello, I use an own derived object of THttpConnection. In this object are some variables which are used for local processing. The code has not been changed in years. I updated the ICS components and mentioned the differences in create and destroing of the THttpConnection object. There were

Re: [twsocket] Connection Timeout

2010-10-11 Thread Fastream Technologies
Hello, Did you check whether FDocStream is cleared after request is complete? Sometimes ICS version upgrades can lose backwards compatibility when announced otherwise. Regards, SZ On Mon, Oct 11, 2010 at 12:32 PM, Olaf van der Meer o.vanderm...@xso.nlwrote: Hello, I use an own derived

Re: [twsocket] Quality of Service?

2010-10-11 Thread Stefan Paege
Francois In a TWSocket you have access to the low level socket ahndle using TWSocket Handle property. You can issue winsock API function call using that handle. So the following code should work!? WSocket_SetSockOpt does not throw an exception but returns -1. What kind of error is this?

Re: [twsocket] Quality of Service?

2010-10-11 Thread Francois PIETTE
You should call WSAGetLastError to know why the call fails. Also you must be sure to call your function at a time that the Handle property is initialized. By the way, in the description for IP_TOS, I read the following: Do not use. Type of Service (TOS) settings should only be set using the

[twsocket] help on httpcli post

2010-10-11 Thread Xavier Mor-Mur
Hello to all I try to include http get and post to my program and doing tests on OverbyteIcshttptst demo. I get function GET work but not with function POST. I configured at home free HFS - HTTP File Server from http://www.rejetto.com/hfs/ When running demo I set URL =