Path: utzoo!utgpu!watserv1!watmath!att!rutgers!psuvax1!uwm.edu!cs.utexas.edu!rice!sun-spots-request From: gish@ncbi.nlm.nih.gov Newsgroups: comp.sys.sun Subject: Fun with XDR record streams Keywords: Software Message-ID: <8477@brazos.Rice.edu> Date: 4 Jun 90 19:16:01 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 9 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 9, Issue 198, message 1 XDR_HELP!! With the functions xdrmem_create and xdrstdio_create, the x_op parameter specifies whether data on the XDR stream is to be ENCODEd or DECODEd. Now check out the function xdrrec_create. How the heck do the XDR i/o routines (e.g., xdr_long) know when data on a record stream is to be DECODEd or ENCODEd, read or written?? Warren Gish National Center for Biotechnology Information gish@ncbi.nlm.nih.gov