Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7648549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T10:44:40+00:00 2026-05-31T10:44:40+00:00

I use on a connected socket on my server something like this to send

  • 0

I use on a connected socket on my server something like this to send data to the client:

IAsyncResult asyncRes = connectionSocket.BeginSend(data, 0, length, SocketFlags.None, 
     out error, new AsyncCallback(SendDataDone), signalWhenDataSent);

As it seems, when there is a slow internet connection between the server and the client I receive an exception description like this: NoBufferSpaceAvailable

What exactly does this error mean ? The internal OS buffer for the socket connectionSocket is full ? What are the means to make it work. As a context where this appears is in a http proxy server. This might indicate, I suppose, that the rate at which data is coming from the origin server is higher than the rate my server can handle with the proxy client. How would you deal with it ?

I am using tcp.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T10:44:41+00:00Added an answer on May 31, 2026 at 10:44 am

    The way to fix this problem is to correlate the way one reads from one socket to the speed one writes to the other socket because if you do no buffering you cannot write to a socket at a higher speed than the client connected at that end can read.

    You one uses synchronous sockets the problem does not appear because they block as long as the operation is still pending but this is not the case with async calls.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I send binary data from client (Debian 6.0.3) to server (Windows Server 2003). To
I have a server-side application opens a socket thread for each connected client. I
Any ideas why when the server writes a socket while the client is waiting
I'd like to know whether something like this has been done before: I've recently
I am trying to use this c socket class , but it only works
I'm developing a server-client application that uses 3 ports [TCP SOCKET .Net 4.0].. So
I'm getting following error when my client tries to connect to my server socket:
I have an IFrame app, and I would like to use some Connect features
I'm using socket to establish a streaming connection with server. By creating a socket,
I am in the process of writing a TCP server using Berkely SOCKET API

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.