We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I have a scenario. I will have many robots on different pcs in a intranet, and each pcs have its own virtual ip address.
The text was updated successfully, but these errors were encountered:
For IP address, you can add getter/setter in api.py.
For computer name you can set by passing 5th argument when init LineClient:
def __init__(self, id=None, password=None, authToken=None, is_mac=True, com_name="PC"):
Sorry, something went wrong.
In case that you want auto detect try editing api.py to set default IP by using this line:
import socket ip = [(s.connect(('8.8.8.8', 80)), s.getsockname()[0], s.close()) for s in [socket.socket(socket.AF_INET, socket.SOCK_DGRAM)]][0][1]
Source: http://stackoverflow.com/a/1267524/404906
Thanks for reply. I have some more questions:
No branches or pull requests
Hi, I have a scenario.
I will have many robots on different pcs in a intranet, and each pcs have its own virtual ip address.
Thank you.
The text was updated successfully, but these errors were encountered: