hermes.c:56:15: error: passing argument 2 of ‘bind’ from incompatible pointer type [-Werror=incompatible-pointer-types]
if (bind(fd, (const struct sockadrr*) &addr, sizeof(addr)) == -1)
^
In file included from hermes.c:25:0:
/usr/include/x86_64-linux-gnu/sys/socket.h:123:12: note: expected ‘const struct sockaddr *’ but argument is of type ‘const struct sockadrr *’