On Jun 9, 2008, at 8:52 PM, Igor Tandetnik wrote: > "Alex Katebi" <[EMAIL PROTECTED]> > wrote in message > news:[EMAIL PROTECTED] >> I am trying to implement remote procedure calls (RPC) for SQLite API >> to be used in my application. >> In particular sqlite3_column_double( ) returns a floating point >> double. How can I write this double value into a TCP socket? > > How do you write an int, or a string, into a socket? A double wouldn't > be much different: at the end of the day, it's just an 8-byte buffer. >
Aren' t there aligment and endian issues as well as potential floating point representations between platforms? _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users