buffered socket class

D

Dan Stromberg

I finally took a moment to put my buffered socket class, bufsock.py, on a
web page.

It's a wrapper class for python sockets.

It should reduce tinygrams, as well as provide a more convenient
interface to the application programmer.

It includes functions for reading a certain number bytes, reading up to
the next occurrence of an arbitrary character (newline, null byte,
whatever you like), and so on.

Conceptually, it is much like stdio for unix file descriptors, but instead
for sockets.

You can find it at:

http://dcs.nac.uci.edu/~strombrg/bufsock.html

Enjoy.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,216
Messages
2,571,119
Members
47,720
Latest member
mohdkaif002

Latest Threads

Top