Where is "open" in "core.sys.linux.unistd"?

rempas rempas at tutanota.com
Fri Jul 9 15:32:36 UTC 2021


On Friday, 9 July 2021 at 15:31:50 UTC, Dennis wrote:
> On Friday, 9 July 2021 at 15:11:38 UTC, Steven Schveighoffer 
> wrote:
>> But reading/writing, closing these file descriptors is always 
>> the same.
>
> For sockets you'd typically use `recv` and `send` instead or 
> `read` and `write` because the former give extra options and 
> the latter don't work on Windows. But yeah, on Linux `read` and 
> `write` should work universally among file descriptors.

That's very important! Thanks a lot for the info!


More information about the Digitalmars-d-learn mailing list