Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Mar : No Buffer Space Available error - Socket Error #10055
| Subject: | No Buffer Space Available error - Socket Error #10055 |
| Posted by: | "Isi R." (irobayna@nospam.yahoo.com) |
| Date: | Fri, 31 Mar 2006 10:10:11 |
Hello,
When I am trying to send send a stream of a file which size is: 199481054
bytes, I get the following error: "No buffer space available".
If I send any other smaller size, the code works just fine.
Question: Is there a way to get around this problem? It seems to me the
exception is being raise right at the IOHandler.WriteDirect method (not 100%
sure here)
This is the code that I use:
AFileStream := TFileStream.Create(FFileName, fmOpenRead +
fmShareDenyNone);
IdTCPClient.IOHandler.Write(AFileStream, 0 , TRUE);
Thanks,
Isi R.