Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

소켓 #74

Open
jikwon101 opened this issue Aug 5, 2021 · 1 comment
Open

소켓 #74

jikwon101 opened this issue Aug 5, 2021 · 1 comment

Comments

@jikwon101
Copy link
Collaborator

  1. 클라이언트 연결 후 , (QUIT없이) 와이파이 상태 불량으로 접속이 불가능한데, 삭제 처리가 안됨.
  2. read값 = 0 도 아닌듯.
  3. 따라서, 와이파이 되돌아 왔을때 재접속 안됨( 닉네임 중복 )

quit 실행 후
is_properly_quit 변수 true 로 변경 요청.

@kamg2218
Copy link
Owner

kamg2218 commented Aug 6, 2021

ping, pong 명령어의 필요성을 알게 된 오류이다!
sendPing, cmdPong 함수를 만들어 주기적으로 ping, pong 을 확인하여 연결을 종료하도록 수정했다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants