Peter, I am using my own implementation. I found RPC and others too complicated to use and it did not give me enough control on the transport layer. I need my socket to be non-blocking and I am using epoll( ) which is very efficient. Thanks! -Alex On Mon, Jun 9, 2008 at 10:53 PM, Peter A. Friend <[EMAIL PROTECTED]> wrote:
> Alex Katebi wrote: > > 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? > > I have tried writing 8 bytes as integer values but the received valued at > > the other end of the socket is incorrect. > > I don't have a lot of experience with real numbers. Can someone help? > > > Are you using something like ONC or Sun RPC, or are you rolling your > own? XDR already handles these types of problems for you. > > Peter > > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users