Class: Socket

Inherits:
BasicSocket show all
Defined in:
lib/wasmify/rails/shims/socket.rb

Direct Known Subclasses

IPSocket, TCPSocket

Constant Summary collapse

AF_UNSPEC =
0
AF_INET =
1

Class Method Summary collapse

Methods inherited from BasicSocket

#initialize

Constructor Details

This class inherits a constructor from BasicSocket

Class Method Details

.gethostnameObject



13
14
15
# File 'lib/wasmify/rails/shims/socket.rb', line 13

def self.gethostname
  "localhost"
end