Re: [twsocket] missing header file

2005-04-23 Thread Moheneghan
I searched my computer and the file WSocket.h does not exist anywhere, I must have made an error on the installation. I am using BCB6 Personnel. "Francois PIETTE" <[EMAIL PROTECTED]> wrote: >> When I place a wsocket component on a form I get the following warning: >> Unable to find header file

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
Dan wrote: > I've had servers that take slightly more than 60 seconds to establish the > connection, but once connected they work fine (no lag). OK, the best would be to deligate timeout setting to the user, as Wilfried wrote. > maybe its only possible for > blocking sockets, I don't think so

Re: [twsocket] Reasonable timeout

2005-04-23 Thread Dan
I've had servers that take slightly more than 60 seconds to establish the connection, but once connected they work fine (no lag). It was because it was trying to do a reverse dns lookup and there was something wrong with the dns coniguration, but still, it can happen. As for other products 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 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] HttpCli buffer size...

2005-04-23 Thread Francois PIETTE
> Whats the buffer size od HTTPCli? When im using strpas(buffer) in OnDocData > event... is there any way to predict if the single buffer is full doc data > or not? OnDocData event pass a length buffer in argument. The receive buffer is dimensionned using HTTP_RCV_BUF_SIZE constant. You shouldn't