LAN Cable이 Plug Off가 되었는데 Sock_established에 있습니다
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: LAN Cable이 Plug Off가 되었는데 Sock_established에 있습니다
by hjjeon0608 ·
물리적인 연결이 끊겨지는 것을 따로 판단하지 않습니다.
만약 plug off된 상태에서 데이터를 보낼 경우 ack를 받지 못하므로 timeout이 발생하여 close가 됩니다.
즉, 데이터를 한번이라도 보내지 않는다면 계속 연결상태로 되어 있습니다.
데이터를 보내지 않고 확인하고 싶을 경우
PHYSTATUS 레지스터를 읽어서 link가 끊어졌는지를 판단하면 됩니다.