Thread View: comp.protocols.misc
1 messages
1 total messages
Started by Tom Leitner
Mon, 14 Dec 1992 09:51
how to transfer floats between different CPUs
Author: Tom Leitner
Date: Mon, 14 Dec 1992 09:51
Date: Mon, 14 Dec 1992 09:51
19 lines
1309 bytes
1309 bytes
Hi netters, I wrote a client/server communication library using the socket() library. Shorts and longs can be transmitted between different CPU types (e.g. VAX, R3000, 80386) without problems using the htonl, htons, ntohl and ntohs calls. Though my application requires to transmit floats as well. Now for my question: Is there any standard for sending floats across the network? What I'm looking for are routines like "htonf" and "ntohf", similar to the integer routines. Please respond by e-mail to tom@piassun1.joanneum.ac.at (Of course if there is enough demand I'll post a summary of the answers I get to this question as well as to my former request about sockets() on VMS for Decnet) Thanks and regards from Austria -- Tom Leitner, Joanneum Research
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads