Re: [twsocket] Reasonable timeout

2005-04-25 Thread Francois Piette
Sunday, April 24, 2005 1:00 AM Subject: Re: [twsocket] Reasonable timeout > Hello! > > > Francois PIETTE wrote: > >>> I just wonder how other programs can provide a > >>> user defined TCP timeout that appears to overrule the system setting or > >>> is

Re: [twsocket] Reasonable timeout

2005-04-25 Thread Piotr Hellrayzer Dałek
Hello! > Francois PIETTE wrote: >>> I just wonder how other programs can provide a >>> user defined TCP timeout that appears to overrule the system setting or >>> is something like that just a fake? >> >> I've searched on MSDN and found that setsockopt has those options: >> SO_RCVTIMEO Receives t

Re: Re[2]: [twsocket] Reasonable timeout

2005-04-24 Thread Arno Garrels
Hello Francois & Wilfried, >> I think the timeout applies only to blocking socket > > correct :) > I also found some resources witch confirm that, but I lost them :( > No problem, application-level timeouts are working fine for me in any case. Arno Garrels -- To unsubscribe or change y

Re[2]: [twsocket] Reasonable timeout

2005-04-24 Thread Wilfried Mestdagh
Message - > From: "Arno Garrels" <[EMAIL PROTECTED]> > To: "ICS support mailing" > Sent: Saturday, April 23, 2005 6:14 PM > Subject: Re: [twsocket] Reasonable timeout >> Francois PIETTE wrote: >> >> I just wonder how other program

Re: [twsocket] Reasonable timeout

2005-04-24 Thread Francois PIETTE
AIL PROTECTED]> To: "ICS support mailing" Sent: Saturday, April 23, 2005 6:14 PM Subject: Re: [twsocket] Reasonable timeout > Francois PIETTE wrote: > >> I just wonder how other programs can provide a > >> user defined TCP timeout that appears to over

Re: [twsocket] Reasonable timeout

2005-04-23 Thread Arno Garrels
Francois PIETTE wrote: >> I just wonder how other programs can provide a >> user defined TCP timeout that appears to overrule the system setting or >> is something like that just a fake? > > I've searched on MSDN and found that setsockopt has those options: > SO_RCVTIMEO Receives time-out in milli

Re: [twsocket] Reasonable timeout

2005-04-23 Thread Arno Garrels
quot;Arno Garrels" <[EMAIL PROTECTED]> > To: "ICS support mailing" > Sent: Saturday, April 23, 2005 7:22 AM > Subject: Re: [twsocket] Reasonable timeout > > > Thanks Wilfried, > ... > My opinion was (and still is) that if I don't get a response afte

Re: [twsocket] Reasonable timeout

2005-04-23 Thread Dan
> To: "ICS support mailing" Sent: Saturday, April 23, 2005 7:22 AM Subject: Re: [twsocket] Reasonable timeout Thanks Wilfried, ... My opinion was (and still is) that if I don't get a response after 30-50 sec it's useless to wait any longer since either the line is too bad or a s

Re: [twsocket] Reasonable timeout

2005-04-23 Thread Arno Garrels
Francois PIETTE wrote: >> I just wonder how other programs can provide a >> user defined TCP timeout that appears to overrule the system setting or >> is something like that just a fake? > > I've searched on MSDN and found that setsockopt has those options: > SO_RCVTIMEO Receives time-out in milli

Re: [twsocket] Reasonable timeout

2005-04-23 Thread Francois PIETTE
> I just wonder how other programs can provide a > user defined TCP timeout that appears to overrule the system setting or is > something like that just a fake? I've searched on MSDN and found that setsockopt has those options: SO_RCVTIMEO Receives time-out in milliseconds (available in the Micros

Re[2]: [twsocket] Reasonable timeout

2005-04-23 Thread Wilfried Mestdagh
Hello Arno, > I recall that we had a discussion in this list a while ago, but there seems > to be nothing in FAQ yet. I have a lot of saved mails to put in the FAQ. Maybe I recalled some of them. Need to find some time soon to upgrade FAQ. Will drop a message as always when done. > I just wonder

Re: [twsocket] Reasonable timeout

2005-04-22 Thread Arno Garrels
Thanks Wilfried, >> 2. How can I catch and handle a system TCP timeout in ICS? and > > You will get the 10060 (conn timed out) as error argument in the > TWSocket events. Good to know, that's easy enough to handle. >> 1. How do I find the actual system TCP timeout? > > Dont know, somewhere in

[twsocket] Reasonable timeout

2005-04-22 Thread Arno Garrels
Hello, Actually I have a custom timeout in all of my applications which is hardcoded to values between 30-50 seconds. It's that short because I do not want the system timeout hit in my program flow. But now users want the timeout user defined and longer :(. So my questions are: 1. How do I find t

Re: [twsocket] Reasonable timeout

2005-04-22 Thread Wilfried Mestdagh
Hello Arno, > 2. How can I catch and handle a system TCP timeout in ICS? and You will get the 10060 (conn timed out) as error argument in the TWSocket events. > 1. How do I find the actual system TCP timeout? Dont know, somewhere in registry I suppose. I _think_ we have a FAQ but I cannot searc