In another SO discussion, we were talking about interfacing an erlang application to another non-erlang app that is using XDR encoded packets for network communications.
Unfortunately, I couldn't really find any real pointers on dealing with XDR data using erlang.
So what is the recommended way of dealing with XDR encoded data in erlang?
Thanks
PS: So far, I could find the following resources:
Getting Erlang to talk to the outside world (2002, PDF, only mentions XDR shortly)
Sendmail Meets Erlang: Experiences Using Erlang for Email Applications (2000, also nothing relevant in here, but still an interesting read)
And then there's this posting, which is relevant and provides some XDR routines, but is from 08/2000, and so even predates erlang's support for the bits syntax.