mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-11-11 00:30:14 +00:00
Cleanup
This commit is contained in:
parent
2943d59042
commit
e3948526fe
@ -70,7 +70,7 @@ def server_loop(destination):
|
|||||||
" running, waiting for a connection."
|
" running, waiting for a connection."
|
||||||
)
|
)
|
||||||
|
|
||||||
RNS.log("Hit enter to manually send an announce (Ctrl-C or 'quit' to quit)")
|
RNS.log("Hit enter to manually send an announce (Ctrl-C or \"quit\" to quit)")
|
||||||
|
|
||||||
# We enter a loop that runs until the users exits.
|
# We enter a loop that runs until the users exits.
|
||||||
# If the user hits enter, we will announce our server
|
# If the user hits enter, we will announce our server
|
||||||
@ -99,11 +99,6 @@ def client_connected(link):
|
|||||||
latest_client_link = link
|
latest_client_link = link
|
||||||
|
|
||||||
def client_disconnected(link):
|
def client_disconnected(link):
|
||||||
#import threading
|
|
||||||
#def close_job():
|
|
||||||
# time.sleep(3)
|
|
||||||
# link.teardown()
|
|
||||||
#threading.Thread(target=close_job, daemon=True).start()
|
|
||||||
RNS.log("Client disconnected")
|
RNS.log("Client disconnected")
|
||||||
|
|
||||||
def server_packet_received(message, packet):
|
def server_packet_received(message, packet):
|
||||||
|
Loading…
Reference in New Issue
Block a user