I would like to open a stream on a sockect's fd, to read and write on it, but without using C functions, like open()
read()
or write()
.
I watched around fstream
but apparently nothing to do what I want.
Any ideas or suggestions ?
it could be done, I have seen it before, I have tried to do it for a buffer, to stream things to a buffer that later can be used to be sent to the
write()
system call
take a look at this , which is a custom made
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.