I am facing a little problem concerning reconnecting the socket to the host.
My problem is that when the connection is closed on my device, the socket is lost and i cannot control it, neither create a new one and connect it again to the host.
i am trying to close the socket and reconnect it ( while my device is still connected to the host ) : it works well.
But when the connection between my device and the host is lost, i am unable to reconnect the socket again, neither creating a new one....
Any idea about my issue.