darkice
darkice copied to clipboard
Use correct addrlen when connecting
My FreeBSD system is rather picky about the correct size of the address structure. The current implementation will always use the size of sockaddr_storage
, which is 128 bytes. The suggested code corrects this.