Modify server and client. Connect successfully
minor change