Skip to content
This repository was archived by the owner on Jan 28, 2023. It is now read-only.
This repository was archived by the owner on Jan 28, 2023. It is now read-only.

Auto discover host IP address #472

Open
@elvisimprsntr

Description

@elvisimprsntr

Instead of requiring one to manually specify the server IP address you can use UDPSocket to determine the IP address.

require 'socket'

addr = UDPSocket.open {|s| s.connect("255.255.255.0", 1); s.addr.last}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions