[omniORB] Problem with large requests (WinNT)

Lars Nilsson chamaeleon at gmail.com
Wed Aug 18 15:08:57 BST 2004


On Wed, 18 Aug 2004 20:55:11 +0300, Vitaly Prapirny <marl at mebius.net> wrote:
> This error has been disscussed earlier (see
> http://www.omniorb-support.com/pipermail/omniorb-list/2002-September/021742.html
> "[omniORB] large messages -> WSAENOBUFS"). Microsoft has confirmed this
> bug in http://support.microsoft.com/default.aspx?scid=kb;en-us;201213
> "BUG: Send() Fails with Error WSAENOBUFS Over Blocking Socket" (Win95,
> Win98,WinNT) and recommends one of the following workarounds:
>     * Use the socket in nonblocking or asynchronous mode.
>     * Break large-size data blocks into small ones and specify a
> relatively small buffer in send for blocking sockets, preferably no
> larger than 64K.
>     * Set the SO_SNDBUF socket option to 0 (zero) to allow the stack to
> send from your application buffer directly.
> 
> Good luck !

Thanks, but currently I do not have any issues personally at this
point in time. :) I just tossed it into the conversation as a possible
cause of the problem being discussed. I'm aware of the Microsoft
support link you gave, and I even included in the misdirected email to
Duncan but forgot to include it in my followup email.

Lars Nilsson



More information about the omniORB-list mailing list