asyncore sockets and proxy

Kragen Sitaker kragen at pobox.com
Mon May 20 19:25:47 EDT 2002


Rune Hansen <rune.hansen at viventus.no> writes:
> I've got a streaming server/client setup programmed with asycore. The client 
> connects to the server on port 10002 and holds the connection forever. This 
> is all well until one introduces a proxy...
> Is it possible to make such a connetion through a proxy?

Depends on the proxy.  Can you be more specific?  I guess you're using
TCP?  Is it an HTTP proxy?  Tends to work pretty well with HTTP
proxies, but sometimes they buffer up several kilobytes and won't
flush it until they receive more.

> Is it possible to configure asyncore sockets to use a proxy for the 
> connection?

A Socks proxy, a term proxy, a NAT, an HTTP proxy, or what?




More information about the Python-list mailing list