W6100 Server 상태에서 접속 종료 명령
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: W6100 Server 상태에서 접속 종료 명령
by irina WIZnet ·
W6100은 TCP Client/TCP Server / UDP 로 소켓을 열었을때,
Sn_CR에 Close값(0x10)을 쓰게 되면 내부 동작에 의해 처리된 후 Sn_SR이 SOCK_CLOSED(0x00)으로 변경되며, 연결이 끊기게 됩니다. 이는 Server/Client의 문제가 아니며, Sn_SR이 SOCK_CLOSED가 되면 연결은 끊깁니다.
또한 동작 중 종료를 하고 싶으시다면, 코드를 작성하시면서 해당 커맨드를 원하시는 동작에 넣어서 사용하시면됩니다.