I have some XDR generation code for haskell I wrote a while ago, so you can generate both the haskell and C side of a socket interface from a single .x file (which has an RFC specification) John -- John Meacham - ⑆repetae.net⑆john⑈