What do other languages do?
Russ
I googled a bit for cmsg.
For Python's multiprocessing module, everything happens in C code.
In Android, there is some C code inside a JNI library.
Most other code dealing with cmsg is written in C.
A pattern is starting to emerge...
Wrapping these macros in C functions and using Cgo seems like a nice
solution to me, except that is is going to make the net package depend
on a cgo stub library, which, as you noted before, isn't pretty.
How is your work on cgo without stubs going?
http://groups.google.com/group/golang-dev/browse_thread/thread/ab5654086bad92c5
Regards
Albert
It's going to happen, but not today.
Russ