Fixes the system_close_on_exec property like methods on Crystal:::System::Socket for the windows platform. They tried to access LibC::F_GETFD and LibC::F_SETFD that don't exist.
The behavior is unsupported on Windows, and it's now harmonized with how Crystal::System::FileDescriptor handles it (i.e. returning false and raising when trying to enable it).
Fixes the
system_close_on_exec
property like methods onCrystal:::System::Socket
for the windows platform. They tried to accessLibC::F_GETFD
andLibC::F_SETFD
that don't exist.The behavior is unsupported on Windows, and it's now harmonized with how
Crystal::System::FileDescriptor
handles it (i.e. returningfalse
and raising when trying to enable it).