Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Mar : Re: No Buffer Space Available error - Socket Error #10055

www.cryer.info
Managed Newsgroup Archive

Re: No Buffer Space Available error - Socket Error #10055

Subject:Re: No Buffer Space Available error - Socket Error #10055
Posted by:"Isi R." (irobayna@nospam.yahoo.com)
Date:Fri, 31 Mar 2006 11:42:50

Latest snapshot fixed the problem...

Thanks,
Isi R.

"Isi R." <irobayna@nospam.yahoo.com> wrote in message
news:442d498b@newsgroups.borland.com...
>
> Addendum: The exception is occuring in IOHandler.WriteBufferFlush method
>
>
> "Isi R." <irobayna@nospam.yahoo.com> wrote in message
> news:442d4654$1@newsgroups.borland.com...
>> 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.

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive