add sockaddr_t type to unify socket address