Python Programming/Sockets

HTTP Client
Make a very simple HTTP client

NTP/Sockets
Connecting to and reading an NTP time server, returning the time as follows ntpps      picoseconds portion of time ntps       seconds portion of time ntpms      milliseconds portion of time ntpt       64-bit ntp time, seconds in upper 32-bits, picoseconds in lower 32-bits

<!-- Warning! This code is broken and must not be used! There are a number of problems with it: 1. It uses very ugly polling with sleep in between (not really a bug, just bad coding pattern), 2. It depends on recv to give all data sent with a single send at once, which is no guarantee that it will do (obvious and serious bug), 3. It blocks on connect (maybe a bug, maybe not, depends on the contract for the function opensocket). There are probably more problems with it (it usually is when you see bugs right away in code).

-->