[W5300] SYN 전송에 관한 질문 입니다
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: [W5300] SYN 전송에 관한 질문 입니다
by becky ·
안녕하세요
우선 이부분에서 데이터를 전송하고 응답을 받았다고 하셨는데, 어떻게 확인하신건가요? Connect가 되지않았는데 데이터 전송은 불가합니다. 보내주신 캡쳐로만 봤을때는 ARP 과정 후 SYN 패킷이 전송되는데 ARP응답을 받지 못해 전송하지 못하는것으로 판단됩니다.
TCP CLIENT에서의 Socket status는 CLOSED → INIT → SYN_SENT → ESTABLISHED가 정상 동작입니다. 다만 SYN_SENT의 경우 SYN 을 전송하고 SYN,ACK을 받기까지 순간적으로 나타나는 상태이기 때문에 위와 같은 코드에서는 확인하시기 어렵습니다. 또한 ARP응답을 받지못하는경우에는 SYN을 전송하지 못하기때문에 SYN_SENT 상태가 되지않습니다.