Netduino home hardware projects downloads community

Jump to content

The Netduino forums have been replaced by new forums at This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

Socket error #10055 (WSAENOBUFS)

  • Please log in to reply
20 replies to this topic

#21 KiwiDev


    Advanced Member

  • Members
  • PipPipPip
  • 100 posts
  • LocationNew Zealand

Posted 24 December 2014 - 10:26 AM

Hi all,


I had a similar problem with short messages taking a while to get sent for HTTP requests done using sockets rather than the baked in System.http functionality.....


After some digging I think  the TCP socket was buffering (Nagle algorithm send coalescing) the send.




See http://blog.devmobil...uest-reduction/for a bit more detail.


EndPoint Destination = new IPEndPoint(address.AddressList[0], (int)this._Port);

// Connects to the socket

this._Sock.SetSocketOption(SocketOptionLevel.Tcp, SocketOptionName.NoDelay, true);


I did a quick global search thru the M2Mqtt library an couldn't see the Nagle functionality being turned off...


It might be worth trying this? 



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.