I/O Multiplexing and non blocking socket

  • Thread starter Salvatore Di Fazio
  • Start date
S

Salvatore Di Fazio

Hi guys,
I'm looking for a tutorial to make a client with a i/o multiplexing and
non blocking socket.

Anybody knows where is a tutorial?
Tnx
 
B

Bjoern Schliessmann

Salvatore said:
Thank you guys, but I would like to use the standard libraries

Then I suggest you read a good book about Unix programming,
especially about the workings of read(), write() and select(). If
you've understood this doing it with python's read/write/select
will be easy.

Everyone may choose to reinvent the wheel :)

Regards,


Björn
 
P

Paul Boddie

Bjoern said:
Then I suggest you read a good book about Unix programming,
especially about the workings of read(), write() and select(). If
you've understood this doing it with python's read/write/select
will be easy.

Everyone may choose to reinvent the wheel :)

Or use Python's standard library features:

http://docs.python.org/lib/module-asyncore.html
http://docs.python.org/lib/module-asynchat.html

I have to confess, however, that I did reinvent the wheel recently
rather than use asyncore, although I may adopt that particular wheel
later on in the project concerned.

Paul
 

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

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top