[Tutor] Network programming
Kent Johnson
kent_johnson at skillsoft.com
Tue Sep 7 14:58:54 CEST 2004
We might be better able to help if you post your code.
Here is a list of HTTP proxy servers written in Python, you might find
something helpful there:
http://xhaus.com/alan/python/proxies.html
Kent
At 02:19 PM 9/6/2004 +0200, Johan Geldenhuys wrote:
>Hi,
>
>I am new to Python and would like to know more about network programming
>in particilar.
>
>I have a script that sets up a socket server and must wait for incoming
>connections. Once a call has been accepted, it must make another socket
>connection to a destination.
>
>Now, I want to let these two "talk" to each other. Once the server
>receives data it must be send out to the destination and when the
>destination has data, it must be send out to the connection that made the
>first call to the server.
>
>Does anybody have any examples or tips on how I can let this happen. My
>calls work for the first batch of data and then when new data is received,
>the calls break.
>
>Thanks
>
>--
> Johan Geldenhuys
>Access Telecommunication Systems
> Mail to: johan at accesstel.co.za
>--
>This message has been scanned for viruses and
>dangerous content by <http://www.azitech.co.za>Azitech, and is
>believed to be clean.
>_______________________________________________
>Tutor maillist - Tutor at python.org
>http://mail.python.org/mailman/listinfo/tutor
More information about the Tutor
mailing list