Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not run on Windows #1

Open
GoogleCodeExporter opened this issue May 15, 2015 · 0 comments
Open

Do not run on Windows #1

GoogleCodeExporter opened this issue May 15, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Do not run on Windows
2. fcntl is available on Windows.

To be able to run on Windows I replaced the
get_ip_address(ifname) method with


def get_ip_address(ifname):
  return socket.gethostbyname(socket.gethostname())

This has the limitation to be used when only having one network interface.

Original issue reported on code.google.com by [email protected] on 24 Oct 2014 at 9:43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant