clientConnect native functions