[W5500] TCP Client Connect 에러
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: [W5500] TCP Client Connect 에러
by irina WIZnet ·
안녕하세요
먼저 해당 질문에 대한 답변을 드리겠습니다.
→ 네트워크 규모별 옵션을 주는 부분은 없습니다. W5500과 연결할 장비의 정보(Mac, address, port number)만 있으면 됩니다.
→ 문제가 없습니다. 0번의 서버가 1번,2번 TCP 클라이언트와 통신하지 않는이상 사용하셔도 됩니다.
→ 모든 채널은 별개도 돌기때문에, 0번이 Listen이 되지 않는다고 해서 1,2번에 영향을 미치지 않습니다.
WIZnet칩은 네트워크가 간단하든, 복잡하든 상관없습니다.

그리고 W5500 는 TCP로 연결될 장비의 MAC, Address, Port만 있으면 통신가능합니다.
단, Client로 동작을 할경우에는 연결이 종료되고 다시 접속을 할경우 W5500의 local port를 변경해주셔야합니다.
그렇지 않으면, Server가 접속했던 Port정보를 가지고 있기 때문에 접속을 못하도록 합니다.
저희가 제공해드리는 Loopback 코드에서Client로 동작할경우, 채널을 열때마다, Local port number를 증가하도록 코드를 구성해놨습니다.
위와 같이 코드가 구성되어있는지 확인 부탁드립니다.
감사합니다.
irina
RE: [W5500] TCP Client Connect 에러
by siksik73 ·
빠르고 명확한 답변에 감사 드립니다.
말씀해 주신데로 Port 번호 변경해서 해결하였습니다.
다시 한 번 깊이 감사 드립니다.
수고 하십시요.
RE: RE: [W5500] TCP Client Connect 에러
by irina WIZnet ·
해결되었다니, 다행입니다.
또다른 질문이 있으실때는 언제든 질문주세요~
감사합니다.
irina