Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Fiddle.win32_last_socket_error
win32_last_socket_error
ext/fiddle/lib/fiddle.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/ext/fiddle/lib/fiddle.rb, line 36
def self.win32_last_socket_error
if RUBY_ENGINE == 'jruby'
errno = FFI.errno
errno == 0 ? nil : errno
else
Thread.current[:__FIDDLE_WIN32_LAST_SOCKET_ERROR__]
end
end
See also
.win32_last_socket_error=
.win32_last_error=
.win32_last_error
#dlopen
also in
3.3 · 3.2 · 3.1 · 3.0