Class: Ignis::Collective::Transport::RIOExtension

Inherits:
Object
  • Object
show all
Extended by:
FFI::Library
Defined in:
lib/nvruby/collective/transport/rio_transport.rb

Overview

RIO Extension loader Loads RIO function table from Winsock

Defined Under Namespace

Classes: RIO_FUNCTION_TABLE

Instance Method Summary collapse

Instance Method Details

#load_function_tableObject



317
318
319
320
321
322
323
324
325
326
327
# File 'lib/nvruby/collective/transport/rio_transport.rb', line 317

def load_function_table
  # This would use WSAIoctl with SIO_GET_MULTIPLE_EXTENSION_FUNCTION_POINTER
  # to get the RIO function table
  #
  # For production, this requires FFI bindings to:
  # - WSAStartup
  # - WSASocket
  # - WSAIoctl with SIO_GET_MULTIPLE_EXTENSION_FUNCTION_POINTER
  #
  RIOFunctionTableWrapper.new
end