chiark / gitweb /
noip.c: Hack ioctl(2) as well.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 2 May 2016 12:28:24 +0000 (13:28 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 2 May 2016 23:12:08 +0000 (00:12 +0100)
It appears that Java's network machinery does lots of probing of network
addresses with ioctl(2), and /some/ of these ioctls don't work well with
Unix-domain sockets.  If we see one of these, then make a temporary
Internet socket and do the ioctl on that instead.

This really is quite unpleasant, but it seems to work well enough to
make Gradle work, for example.


No differences found