7 Jan
2002
7 Jan
'02
11:27 a.m.
On Fri, 04 Jan 2002 17:41:08 +0100, Niels Mache <mache@struktur.de> wrote:
I want to transmit the data of a (probably large) Pdata object (Zope module OSF/Image) over a TCP/IP socket using sock.send().
I assume you mean *not* using http. Do you *need* that to be blocking? I thought I needed something similar at one time too, but the non-blocking options are probabnly better. If you want non-blocking, File objects use RESPONSE.write which is a good start for rolling your own implementation. Toby Dickenson tdickenson@geminidataloggers.com