Socket error 10055: No buffer space available

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sendil kumar
    New Member
    • Sep 2007
    • 26

    #1

    Socket error 10055: No buffer space available

    Hi All,

    When I do a huge write to my socket I'm getting the Socket error 10055: No buffer space available. How to overcome this problem?

    I know that spliting the data in to small chuncks and sending it will solve this problem, but I would like to know other possible ways. Can any one tell any other way to handle this? Is there a way to increase the socket buffer size?
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    Look up the socket functions getsockopt and setsockopt

    Comment

    • miki567
      New Member
      • Oct 2009
      • 1

      #3
      Socket error 10055: No buffer space available

      Hi everybody!

      I have the same problem. I have tried to increase buffer size, but the result is the same.
      I am using Windows XP.
      Basicaly, I can send large data (for example 200MB) by calling the function "send" (programing in C) several times. But, in that case the throughput is bad, around 80MB/s (I am using Ethernet 100MB/s). If I send 50MB of data with one call of function "send", I get throughput of 94MB/s, which is acceptable and coresponding to theoretical values. When I try to send more then 50MB with one call of "send", I get this problem.

      Thank you for help!

      Comment

      Working...