Hi,
Does anybody knows what is the max default buffer size in the write function?
outfile.write (recvbuf, bytesRecv).
I want to ckeck how many times this function will be called to write a big block data in a file.
Thank you
Hi,
Does anybody knows what is the max default buffer size in the write function?
outfile.write (recvbuf, bytesRecv).
I want to ckeck how many times this function will be called to write a big block data in a file.
Thank you
what's "outfile" - is it a ofstream? In that case, I don't think there is a technical limit - as long as there is enough memory, you can have it as large as the size element allows (e.g. 64KB or more on a 16-bit machine, 4GB on a 32-bit machine or many terabytes on a 64-bit machine).
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.