mirror of
https://github.com/nasa/trick.git
synced 2025-03-12 23:44:03 +00:00
11 lines
251 B
Python
11 lines
251 B
Python
|
exec(open("./Modified_Data/realtime.py").read())
|
||
|
|
||
|
# Save the Connection Info <host,port> to a file
|
||
|
host = trick.var_server_get_hostname()
|
||
|
port = trick.var_server_get_port()
|
||
|
|
||
|
f = open("socket_info", "w")
|
||
|
f.write(str(host) + ":" + str(port))
|
||
|
f.close()
|
||
|
|