Serialized a TimePacket into a newly-allocated sequence of SIZE bytes, in network byte order.
The value returned is suitable for passing to write(2) or sendto(2) for communication over the network.
MT safe. Caller owns return value (g_free to free).
this |
the TimePacket |
A newly allocated sequence of SIZE bytes. |