W5200 tcp 재접속 에러
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: W5200 tcp 재접속 에러
by justinkim ·
안녕하세요
TCP Server와 Client 통신중 LAN 케이블을 뽑았을때
LAN 케이블을 바로 다시 연결하면 다시 작동되고 2분~5분후 연결하면 작동이 안되는 것으로 보아
timeout이 발생해 Server가 닫힌 것으로 보입니다.
어플리케이션을 짜실때 timeout이 발생해 close 상태가 된 후 다시 서버를 열어 주시는 방법을 사용 해야 할 것 같습니다.
도움이 되었는지 모르겠네요 ~
RE: W5200 tcp 재접속 에러
by irinakim ·
안녕하세요
Keep alive 기능은
connection 하신후 1byte이상의 데이터를 보낸 후 사용가능합니다.
즉, connection → 1byte 이상의 Data를 보냄 → Keep alive 기능 사용 → LAN 제거
의 순서로 테스트 하시면 됩니다.
감사합니다
irinakim