Method: OpenC3::TcpipServerInterface#set_option
- Defined in:
- lib/openc3/interfaces/tcpip_server_interface.rb
#set_option(option_name, option_values) ⇒ Object
Supported Options LISTEN_ADDRESS - Ip address of the interface to accept connections on - Default: 0.0.0.0 (see Interface#set_option)
282 283 284 285 286 287 288 |
# File 'lib/openc3/interfaces/tcpip_server_interface.rb', line 282 def set_option(option_name, option_values) super(option_name, option_values) case option_name.upcase when 'LISTEN_ADDRESS' @listen_address = option_values[0] end end |