Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Don't forget you may need to opt in to get mapping to work. It's not available by default on all platforms.

If you're unlucky you'll also have to sacrifice a goat to appease the JVM gods. JVM behaviours vary hugely across implementation, version and underlying platform. Not to mention the short sighted decision made by many sysadmins to disable IPv6 completely...



Sure, that's one line and then you're done. And only if you care about very old (WinXP) or deliberately obnoxious (OpenBSD) platforms.


WinXP implements sockaddr_storage from RFC 2553 - a sufficiently large generic socket address.


But not mapped-v4 sockets; it has independent IPv4 and IPv6 stacks. In any case, hopefully we don't need to write code for it anymore…




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: