We got all pass in Windows + WSL, but something got wrong with same codes in MAC #117
Unanswered
GimokYun
asked this question in
[Project Q&A] 2. Transport Layer (TCP)
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi. We want to know why something got wrong in MAC with codes which ran correctly in Windows + WSL.
All cases which do not pass in MAC showed above message, so we checked this point in test file. We assumed that this part checks if client_addr.sin_family is AF_INET after accept. We checked that there is a part that we brought AF_INET to sin_family of client_addr before accept in our codes, so we don't know the reason that this problem occurs. If you know this reason, please let us know it.
Thank you.
안녕하세요 조교님.
Windows+WSL에서 실행시켰을 때에는 모든 test case가 pass되었는데, MAC에서 실행시키니 pass되지 않는 test case가 생겨 이렇게 질문드립니다.
통과되지 못하는 test들은 모두 위의 메시지와 함께 통과되지 못했습니다. 저 부분을 살펴보니, accept 이후에 client_addr의 sin_family 부분을 확인하는 것 같은데, 저희 code에서는 accept에서 저장해놓은 client_addr를 참조하기 이전에 sin_family에 AF_INET 을 집어넣는 부분이 있음에도 왜 문제가 발생하는지를 모르겠어서 질문드립니다.
감사합니다.
Beta Was this translation helpful? Give feedback.
All reactions