I've managed to get UDP NAT traversal working in my personal project. I haven't really had issues with the Networking libraries at all (except that htons and htonl aren't where i expected them to be... and yes, i did actually need them...)

/jve


On Fri, Jan 9, 2009 at 1:18 PM, Andrew Coppin <andrewcoppin@btinternet.com> wrote:
Thomas DuBuisson wrote:
Not all the data structures you need are there last I looked.

This was my conclusion as well.

As with most network libraries I've seen, TCP works just great, and anything else... tough? (I couldn't even see UDP last time. Have I missed something?)


As you
could infer from my recent posts, one of my dozen future projects is
to add netinet/*.h like data structures to the Haskell network library
(i.e. TCP, IPv4, UDP headers with Binary instances).  This isn't to
say your task would be much more difficult, but it would be nice to
have a community wide definition available.
 

That would, indeed, be nice.


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe