Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.unix.programmer > #951
| From | Nobody <nobody@nowhere.com> |
|---|---|
| Subject | Re: Non blocking socket operations and async io on liunx |
| Date | 2011-07-16 14:50 +0100 |
| Message-Id | <pan.2011.07.16.13.50.01.146000@nowhere.com> |
| Newsgroups | comp.unix.programmer |
| References | <d76c5b24-8511-4d93-8cbb-1e180d24b49e@p12g2000pre.googlegroups.com> |
| Organization | Zen Internet |
On Fri, 15 Jul 2011 03:25:51 -0700, itt ium wrote: > 2. Is it possible to get rid of send buffer in case of async i/o or If I > keep sending the data to kernel, whether at any point of time it will not > take the buffer and I will have to buffer it. thanks If you're producing data faster than you can get it out of the system, the remainder either has to be buffered somewhere or discarded. The kernel has fixed-size socket buffers (fixed in the sense that you have to explicitly set the size via SO_SNDBUF); if you want auto-grow buffers, you have to implement them in user space.
Back to comp.unix.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Non blocking socket operations and async io on liunx itt ium <ittium@gmail.com> - 2011-07-15 03:25 -0700
Re: Non blocking socket operations and async io on liunx Nobody <nobody@nowhere.com> - 2011-07-16 14:50 +0100
Re: Non blocking socket operations and async io on liunx ittium <ittium@gmail.com> - 2011-07-17 13:18 +0530
Re: Non blocking socket operations and async io on liunx Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-07-17 19:43 +0100
Re: Non blocking socket operations and async io on liunx itt ium <ittium@gmail.com> - 2011-07-18 03:14 -0700
csiph-web