Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #96929
| From | Marko Rauhamaa <marko@pacujo.net> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Lightwight socket IO wrapper |
| Date | 2015-09-21 11:49 +0300 |
| Organization | A noiseless patient Spider |
| Message-ID | <87lhc0nolx.fsf@elektro.pacujo.net> (permalink) |
| References | (3 earlier) <876134p5hw.fsf@elektro.pacujo.net> <mailman.24.1442822846.28679.python-list@python.org> <871tdsp3ox.fsf@elektro.pacujo.net> <mailman.25.1442825151.28679.python-list@python.org> <87si68nooe.fsf@elektro.pacujo.net> |
Marko Rauhamaa <marko@pacujo.net>: > Chris Angelico <rosuav@gmail.com>: > >> On Mon, Sep 21, 2015 at 6:38 PM, Marko Rauhamaa <marko@pacujo.net> wrote: >>> Only one reader can read a socket safely at any given time so mutual >>> exclusion is needed. >>> >>> If you read "too much," the excess can be put in the application's read >>> buffer where it is available for whoever wants to process the next >>> message. >> >> Which works only if you have a single concept of "application's read >> buffer". > > Well, the socket's read buffer. To be exact, the application should associate a read buffer with each socket. Marko
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Lightwight socket IO wrapper Chris Angelico <rosuav@gmail.com> - 2015-09-21 17:57 +1000
Re: Lightwight socket IO wrapper Marko Rauhamaa <marko@pacujo.net> - 2015-09-21 10:59 +0300
Re: Lightwight socket IO wrapper Chris Angelico <rosuav@gmail.com> - 2015-09-21 18:07 +1000
Re: Lightwight socket IO wrapper Marko Rauhamaa <marko@pacujo.net> - 2015-09-21 11:38 +0300
Re: Lightwight socket IO wrapper Chris Angelico <rosuav@gmail.com> - 2015-09-21 18:45 +1000
Re: Lightwight socket IO wrapper Marko Rauhamaa <marko@pacujo.net> - 2015-09-21 11:48 +0300
Re: Lightwight socket IO wrapper Marko Rauhamaa <marko@pacujo.net> - 2015-09-21 11:49 +0300
Re: Lightwight socket IO wrapper Chris Angelico <rosuav@gmail.com> - 2015-09-21 18:50 +1000
Re: Lightwight socket IO wrapper Jorgen Grahn <grahn+nntp@snipabacken.se> - 2015-09-22 07:59 +0000
csiph-web