Skip to content
This repository was archived by the owner on Sep 18, 2024. It is now read-only.

Conversation

liuzhe-lz
Copy link
Contributor

@liuzhe-lz liuzhe-lz commented Jun 22, 2021

This method will get the IP address of default router, which means, when anyone creates connection and sends packets via standard library, it will use this address.
The method is platform independent and is irrelative to "eth0", so at Python side it does not need netifaces to do validation.

@liuzhe-lz liuzhe-lz merged commit 51c6afd into microsoft:master Jun 23, 2021
@liuzhe-lz liuzhe-lz deleted the detect-ip branch June 23, 2021 21:41
SparkSnail added a commit to SparkSnail/nni that referenced this pull request Jul 8, 2021
SparkSnail added a commit to SparkSnail/nni that referenced this pull request Jul 8, 2021
SparkSnail added a commit to SparkSnail/nni that referenced this pull request Jul 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants