>>>>> ":" == Guilhem Lavaux <guilhem@kaffe.org> writes: :> Then, I don't see why addr should fail except that sizeof(addr) should :> be exactly equal to sizeof(struct sockaddr_in). What happens if you put :> sizeof(struct sockaddr_in) instead of sizeof(addr) ? In my case, both KBIND and KCONNECT uses not AF_INET6 but AF_INET and sizeof(addr) == 28 sizeof(struct sockaddr_in) == 16