ensureWinsockInitialized

fnbool ensureWinsockInitialized() @trusted nothrow @nogc

Initialize Winsock if not already initialized.

This function is thread-safe and idempotent.

Returns

true on success, false on failure.