Aurelien Jarno wrote: > Since then I have found the problem, the value of socklen (the third > argument of connect() ) was always set to the length of an IPv6 socket > address, even for an IPv4 connection. It seems it doesn't hurd the > Linux kernel, but it does for the FreeBSD one. It works. Great work! Robin