Class: ENet::Client::Address

Inherits:
Struct
  • Object
show all
Defined in:
lib/ffi-enet/renet/client.rb

Instance Attribute Summary collapse

Instance Attribute Details

#hostObject

Returns the value of attribute host

Returns:

  • (Object)

    the current value of host



3
4
5
# File 'lib/ffi-enet/renet/client.rb', line 3

def host
  @host
end

#portObject

Returns the value of attribute port

Returns:

  • (Object)

    the current value of port



3
4
5
# File 'lib/ffi-enet/renet/client.rb', line 3

def port
  @port
end