Sybase disconnect after idle

Michelle Dupuis <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
I have a C program using freetds ver 0.91 (package on CentOS 5.7).  All seems to work well, but after some idle time (eg: 5 hours) the connection seems to drop because attempts to issue a query result in error 20003 (disconnect).  Is freetds disconnecting or is the Sybase server disconnecting the session?
Is there any way to prevent this?

Thanks!
(My first message on the group)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.