too little argument for connect will cause segment fault