sending a byte on a socket

Daniel Timothy Bentley dbentley at stanford.edu
Wed Aug 27 02:38:06 EDT 2003


Slamming my head against what should be an easy problem:

How do I send a byte across an open, connected socket?

Do I have to implement my own type that implements some method a string
normally does?

Or is there some hidden encoding that will let me turn a byte into a
string?

This is surely a simple question for anyone who remembers the answer.

Thanks so much,
Dan





More information about the Python-list mailing list