TCP Client Connect()이후 send() 에러
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: TCP Client Connect()이후 send() 에러
by noelbich ·
해결했습니다. ^^
socket(0, Sn_MR_TCP, 80, SF_IO_NONBLOCK);
이부분이 문제였네요. SF_IO_NONBLOCK 값 때문에 connect 내부에서 계속 SOCK_BUSY 값을 반환하더군요.
socket(0, Sn_MR_TCP, 80, 0);
바꾸니까 지연 없이 잘 되네요.
제 글을 읽고 고민해주신 분들 모두 감사합니다. ^^