Commit f60fc811 authored by aoh's avatar aoh
Browse files

Describe request_address in

Signed-off-by: aoh's avataraoh <>
parent 690c094e
......@@ -9,6 +9,9 @@ import ip_query_pb2
def request_address(address, port, cert):
This function obtains the external ip address of the current machine.
msg = ip_query_pb2.Query()
connection = ssl.wrap_socket(socket.create_connection((address, port,)),
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment