MACRaw cause a freeze in communication TCP socket
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: MACRaw cause a freeze in communication TCP socket
by Eugeny ·
Can you share network logs for both situations? Their analysis should give an idea what may cause misbehavior, and then I guess it will require digging into the web server code. I did not have experience with MACRAW, but I guess that it is not designed for performance as only socket 0 may work in this mode, and to get max performance for it you must allocate all buffers for sockets 0. And even in this case there’s a risk of RX buffer overflow (well, in your circumstances not really) forcing software managing protocol issue, and it is a good question how good software can cope with it. Also W5500 to/from processor transmission speed may become a bottleneck.
However MACRAW should be a good choice because W5500’s TCP stack provides 8 only simultaneous sockets, with MACRAW you can manager more sockets in software.