this is to test if that works on irix 6.4 where we can only use 16 chars for the sun_path
of the unix sockets.
the plan is to make multiple interfaces possible with socket wrapper,
and the format will change to ("%c%02X%04X", type, iface, port),
which is also 7 char to the file name
metze
(This used to be commit
e60d491864ad7ea7f981bc1918ace4ee3fb2d77a)
with this format we have 8 chars left for the directory name
*/
-#define SOCKET_FORMAT "%u_%u"
+#define SOCKET_FORMAT "%u_%05u"
static struct sockaddr *sockaddr_dup(const void *data, socklen_t len)
{