[Olsr-dev] Serialize and Deserialize message

Henning Rogge (spam-protected)
Fri Mar 26 17:33:47 CET 2010


Am Freitag 26 März 2010 15:57:05 schrieb Airton Ishimori:
> Ok, so for exemple,  I can create a variable
> 
> uint32_t mst;
> ....
> //This time is millisecond, right? for exemple, 2 ms?
> mst = GETTIMESTAMP(0);
> ....
> mst = htols(mst);
> 
> and so sent from socket?
Absolute timestamps should not be serialized.

You could do this, but it makes no sense.

Henning


-- 
1) You can't win.
2) You can't break even.
3) You can't leave the game.
— The Laws of Thermodynamics, summarized
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20100326/4ed7422c/attachment.sig>


More information about the Olsr-dev mailing list