PDA

View Full Version : سوال: No buffer space available.



Mask
پنج شنبه 04 آبان 1391, 12:32 عصر
سلام
آیا دوستان تا به حال با این ارور مواجه شدند.؟

EIdSocketError-Socket Error # 10055
No buffer space available.

mohsen24000
پنج شنبه 04 آبان 1391, 16:36 عصر
Error 10055 means that Windows has run out of TCP/IP socket buffers because too many connections are open at once. Things to check if this happens are:


Is there any other TCP/IP software running on the same PC as VPOP3 - eg a proxy server
If you are using 'MX Sending' (on the Out Mail tab in VPOP3), then we recommend that you use the latest version of VPOP3 (1.4.0c or later)
If VPOP3 is running on Windows 95, make sure you have the kernel updates which fixed a resource problem which could cause this error
If you have a lot of client computers connecting to VPOP3 either make them connect less frequently, or make sure you are running VPOP3 on Windows NT or 2000 as that has less of a limit on the number of available buffers.








I think, it's impossible to say :
Error 10055 means that Windows has run out of TCP/IP socket buffers because too many connections are open at once.

You are likely trying to connect the socket too many times too often.

Assuming you are using TClientSocket in non-blocking mode (which is its default
mode), calling Open() or setting Active=True will not actually connect the
socket right away. The connection is performed in the background after TClientSocket
has returned control back to your code. Once you have initiated a new connection,
DO NOT keep trying to connect the socket while the background operation is
in progress. If the connection succeeds, you will get an OnConnect event,
at which time it is safe to then start exchanging your data over the socket.
But if the connection fails, you will get an OnError event instead with
its ErrorEvent parameter set to either eeLookup or eeConnect. If you get
an OnError event, you should wait a few seconds before trying to connect
again.


simply call Open() (or set Active=True) and then wait
for the OnConnect event to trigger before you can start sending any data.