socket state = SOCKET_ESTABLISHED
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: socket state = SOCKET_ESTABLISHED
by alecksis ·
even if i do
it takes many time. browser does not want to shut off.
my browser Opera, or Chrome, or Vivaldi. all this browsers keep-alive connection. (i send header Connection: close). In the fire fox all OK.
RE: RE: socket state = SOCKET_ESTABLISHED
by Eugeny ·
Those browsers you mentioned used to create spare connections to the web server, occupying the sockets for quite a time. Firefox has option to limit concurrent connections in its configuration tab.
You did not publish your code, but you must ensure that after server completes communicating from its side it performs DISCON and then (without waiting) performs CLOSE, and then OPEN, and LISTEN. Faster you do this process, less time you will have with socket being offline.
If you perform as I explained above, your clinet really connects (and you can confirm it wit Wireshark) but server does not send a data then the fault is in server’s code.
RE: socket state = SOCKET_ESTABLISHED
by alecksis ·
ok, it is my code
/*
* w5500my.c
*
* Created: 04.08.2018 14:04:51
* Author: belaz
*/