update connect() and other thing, i use getaddrinfo