TypeReasonJava.IO.IOExceptionif an error occurs while closing the socket.
Closes the socket. It is not possible to reconnect or rebind to this socket thereafter which means a new socket instance has to be created.
[Android Documentation]