Re: connect timeout
slav0nic <[email protected]> Tue, 10 Jan 2012 10:16:04 +0200
| Newsgroups | gmane.comp.python.sybase |
|---|---|
| Message-ID | <CAJp6tx9-Gn_EU9GfdnuO2cReA3_4dx=2TaKC8J8xAsFKhrgF2g@mail.gmail.com> |
Hi, i used 0.39 version. Exist any way for set connection timeout for Sybase.connect()? When i connected to nonexistent IP script freeze (but isql return error after ~60sec) + connect locked all threads ( not thread-safe?):| socket.setdefaulttimeout() does't work for C extensions Tnx ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev