Open sveinungf opened 5 years ago
Hi, maybe this is worth mentioning. Basically, the FileOptions.Asynchronous flag should be passed when creating a FileStream (e.g. with File.Create), otherwise the actual I/O operations are performed synchronously. More info.
FileOptions.Asynchronous
FileStream
File.Create
Good one! Even though FileStream is still a disaster when it comes to async IO
Same sockets?
Sockets are fine.
Hi, maybe this is worth mentioning. Basically, the
FileOptions.Asynchronous
flag should be passed when creating aFileStream
(e.g. withFile.Create
), otherwise the actual I/O operations are performed synchronously. More info.