Skip to Content.
Sympa Menu

freetds - [freetds] Does 'connect timeout' option in freetds.conf

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Choi, Myung-jin" <mjchoi76 AT progambank.co.kr>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: [freetds] Does 'connect timeout' option in freetds.conf
  • Date: Fri, 1 Aug 2003 22:22:47 +0900

Did you find the way?
I can't sleep for several days because of this.
Please help me if you can.
Thanks.

Choi, Myung-jin
Professional Online Game Programmer
email: mjchoi76 AT programbank.co.kr
PROGRAMBANK Entertainment
Fri May 2 19:13:14 EDT 2003
* Previous message: Does
<https://lists.ibiblio.org/sympa/arc/freetds/2003q2/006774.html>
'connect timeout' option in freetds.conf work?
* Next message: Problems
<https://lists.ibiblio.org/sympa/arc/freetds/2003q2/006778.html> with
image fields
* Messages sorted by: [
<https://lists.ibiblio.org/sympa/arc/freetds/2003q2/date.html#6776> date
] [ <https://lists.ibiblio.org/sympa/arc/freetds/2003q2/thread.html#6776>
thread ] [
<https://lists.ibiblio.org/sympa/arc/freetds/2003q2/subject.html#6776>
subject ] [
<https://lists.ibiblio.org/sympa/arc/freetds/2003q2/author.html#6776>
author ]
_____

On Tue, 2002-04-16 at 12:22, Brian Bruns wrote:
> It's in CVS if ya want to try it on for size.

Thanks.

- is the IOCTL really setting the socket non-blocking? If so, it has to
set it back to blocking mode afterwards, doesn't it?

- normally I would expect a "connect with five second timeout" to be
implemented as follows;

set socket non-blocking (using fcntl or ioctl)
issue connect()
if return error is EINPROGRESS {
select for writability, timeout five seconds
if timeout happened {
errno = ETIMEDOUT
return -1;
}
}
set socket blocking
return 0; /* success */

and so I don't quite understand how the code in login.c is supposed to
work. Is it instead polling every tds_msleep(1) interval until time()
returns a value high enough?

--
James Cameron (james.cameron at
compaq.com <http://lists.ibiblio.org/mailman/listinfo/freetds> )

http://quozl.linux.org.au/ (or) http://quozl.netrek.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
Url :
https://lists.ibiblio.org/sympa/arc/freetds/attachments/20020415/d91001bc
/attachment.bin
_____

* Previous message: Does
<https://lists.ibiblio.org/sympa/arc/freetds/2003q2/006774.html>
'connect timeout' option in freetds.conf work?
* Next message: Problems
<https://lists.ibiblio.org/sympa/arc/freetds/2003q2/006778.html> with
image fields
* Messages sorted by: [
<https://lists.ibiblio.org/sympa/arc/freetds/2003q2/date.html#6776> date
] [ <https://lists.ibiblio.org/sympa/arc/freetds/2003q2/thread.html#6776>
thread ] [
<https://lists.ibiblio.org/sympa/arc/freetds/2003q2/subject.html#6776>
subject ] [
<https://lists.ibiblio.org/sympa/arc/freetds/2003q2/author.html#6776>
author ]
_____

<http://lists.ibiblio.org/mailman/listinfo/freetds> More information
about the FreeTDS mailing list



  • [freetds] Does 'connect timeout' option in freetds.conf, Choi, Myung-jin, 08/01/2003

Archive powered by MHonArc 2.6.24.

Top of Page