[W550S2E] TCP Client local port 자동 증가 방법
Serial-to-Ethernet & ConfigTool
No replies yet. Be the first to reply.
Join the discussion.
Serial-to-Ethernet & ConfigTool
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: [W550S2E] TCP Client local port 자동 증가 방법
by Ricky ·
안녕하세요.
공개된 Source 의 431line에서 socket(sock, Sn_MR_TCP, net->local_port, SF_IO_NONBLOCK); 과 같이 소켓 생성시 net->local_port에 원하는시는 포트 번호를 넣으시면 됩니다.
그리고, Configuration Tool에서 Local Port를 0으로 설정하면 랜덤한 Port를 사용하여 접속 하니 참고 바랍니다.
자세한 내용은 WIZwiki 을 참고하세요.