WIZnet Developer Forum

Set timeout for Socket Interrupt Register

Hello,

is anybody expirience to set timeout for Socket Interrupt Register. When we connect to server, sometimes occured “Timeout” on register 0x0002 and no connect. Default value is 128 propably, but I would like to incerase ?

Thanks

Matej, I do not think it will help much. You should figure out why you get timeout and fix it, increasing retry count and timeout value is a workaround which may have questionable value for you.

Protocol - TCP, UDP? Which stage you get interrupt - chronology of values of Sn_SR register? If it is TCP, do you use different source port numbers for different connections to the same physical web server? When TCP connection is ended at the server side, does your client send DISCON command to the server?

Please answer these questions before doing anything else.

Copyright © 2017 WIZnet Co., Ltd. All Rights Reserved.