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

Touch.Server not supporting multiple network cards on the Mac #16

@donnib

Description

@donnib

Hi,
I have tried to specify --ip myipaddress where myipaddress is a WiFi network address of the Wifi network where the Device is connected to. This still yields tha the server is listening on 0.0.0.0 which indicates the address i specified is not in use.

Besides above when the application runs following code line :

var ipAddresses = System.Net.Dns.GetHostEntry (System.Net.Dns.GetHostName ()).AddressList;

AddressList will only return one ip address which is not correct since i have two networks which means two ip address. What i would expect was that when i specify --ip option then that ip should also be sent to the client so it can connect to the server because that is the same ip.

Another solution to the same problem could be to add an option to specify which network card like "et0" then the code should figure out which ip address that network uses.

For the moment i have hardcoded the ip which is short lived so i have to find a better solution for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions