The error generated by the library seems to use the port argument even if a sockaddr argument is given.