Skip to content

cannot specify network interface to listen on #12

@jaroszan

Description

@jaroszan

Currently quaff uses system-getifaddrs to get local_hostname, which does not give option to specify interface. It would be nice to have an opportunity to be able to specify interface in case I have several of them and want to use one specific.

Additionally dependency on system-getifaddrs makes quaff OS dependent.

I am looking forward to using quaff and I would like to ask you if it would be enough to:

  • remove import from utils.rb
  • remove Utils.local_ip function from utils.rb
  • modify initialize function in BaseEndpoint class to accept local_hostname parameter from the user

to get it working for both accepting interface as a parameter and under Windows OS?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions