Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20663

BASCOM-AVR : SocketDisconnect : REPLY

$
0
0
hi a disconnect will only send a disconnect request. it is up to the other side if the connection is really disconnected. i usually poll status. I give a disconnect and then check if the connection is terminated, and then i close the connection. as a remark : disconnect is only valid for TCP connections i think i also experienced this problem when i developed the driver. it was also caused by the fact that w3100 and w5100 work different. w3100 had no disconnect and only a close option. But disconnecting and checking status works for me. You could check wiznet forum/support to see if there are reports and possible fixes. But it works simple : you write to the register and then check the register for value 0. When done, one must assume the chip did its magic.

Viewing all articles
Browse latest Browse all 20663

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>