Receives a TimePacket over a socket.
Handles interrupted system calls, but otherwise returns NULL on error.
socket |
socket to receive the time packet on |
src_address |
address of variable to return sender address |
a new TimePacket, or NULL on error. Free with free when done. |