Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.unix.programmer > #965

Re: Non blocking socket operations and async io on liunx

From Rainer Weikusat <rweikusat@mssgmbh.com>
Newsgroups comp.unix.programmer
Subject Re: Non blocking socket operations and async io on liunx
Date 2011-07-17 19:43 +0100
Message-ID <87tyakvjc5.fsf@sapphire.mobileactivedefense.com> (permalink)
References <d76c5b24-8511-4d93-8cbb-1e180d24b49e@p12g2000pre.googlegroups.com> <pan.2011.07.16.13.50.01.146000@nowhere.com> <ivu44h$rcg$2@dont-email.me>

Show all headers | View raw


ittium <ittium@gmail.com> writes:
> On 16-07-2011 PM 07:20, Nobody wrote:
>> 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.
>>
> thanks, It make sense. I would really appreciate comment from someone
> in the group, who has actually worked on posix io routine for some
> complex systems.

Your assumption that this hasn't happened is wrong.

Back to comp.unix.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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