Files
ladybird/Libraries/LibCore/SocketWindows.cpp
ayeteadoe 5e529fc603 LibCore: Use WinSock2 closesocket() in PosixSocketHelper::close()
Our Core::System::is_socket() helper is not very robust, as it was
incorrectly marking m_fd as a non-socket fd. This meant we were trying
to call CLoseHandle() on a socket which fails. We can just call
closesocket() directly given we are in an explicit socket-only context.
2025-10-29 21:07:52 -06:00

10 KiB