Simple socket loop
Aahz Maruch
aahz at netcom.com
Sun Jan 23 16:11:08 EST 2000
In article <ln5gqz5p.fsf at jumbo.skott.dk>, Martin Skøtt <mskott at image.dk> wrote:
>
>After having communicated with the client the server stop! How can I
>prevent that and keep it listening (and answering)? I guess I have to
>put it inside some kidn of loop but how. Please if you could give me a
>working example (or a link to one) it would be great because i'm still
>new to Python.
Instead of trying to recreate the wheel yourself, take a look at the
asyncore library.
--
--- Aahz (@netcom.com)
Androgynous poly kinky vanilla queer het <*> http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6
Have a *HAPPY* day!!!!!!!!!!
More information about the Python-list
mailing list