What's the easiest way to write a daytime client in Python?
And if there's more data of unknown size but still plain text - how do I read until the server closes the connection?
What's the easiest way to write a daytime client in Python?
And if there's more data of unknown size but still plain text - how do I read until the server closes the connection?
Use Twisted - it will take some time to get the concept, but it rocks!
Start with tutorials http://twistedmatrix.com/documents/current/core/howto/index.html - first two should be enough.