[Zope] controlling UDP socket defaulttimeout in External Method

robert rottermann robert at redcor.ch
Wed Oct 27 15:56:15 EDT 2004


http://www.timo-tasi.org/python/timeoutsocket.py
HTH
Robert

Bill Seitz wrote:
> I am running ZoPe v2.6.2 which uses PyThon v2.1.3.
> 
> I have some Python code to send data to a business partner over a UDP 
> socket.
> 
> I'm trying to call that code from an External Method.
> 
> The socket.setdefaulttimeout() function wasn't defined until Python 2.3.
> 
> If I want to control the timeout period for this function, how would I 
> do it?
> 
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
> 
> 


More information about the Zope mailing list