I hereby claim:
- I am matthb2 on github.
- I am matthb2 (https://keybase.io/matthb2) on keybase.
- I have a public key whose fingerprint is DCB3 B288 FBA5 68D9 F917 A6F8 1FD7 0714 F9E0 B991
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
require 'socket' | |
host="pool.ntp.org" | |
socket = UDPSocket.open | |
socket.connect(host,123) | |
resp=[] | |
while resp.length < 2 do | |
# 0b0001011... (rest padded with 0s) | |
socket.send("\011"+"\0"*47,0) |