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.
↧