Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/python/ntpclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import socket
import struct, time # To unpack the packet sent back and to convert the seconds to a string.

host = "pool.ntp.org"; # The server.
host = sys.argv[1]; # The server from command line.
port = 123; # Port.
read_buffer = 1024; # The size of the buffer to read in the received UDP packet.
address = ( host, port ); # Tuple needed by sendto.
Expand Down