I want to disconnect from the direct wifi group after establishing a connection. I just want to move freely without interrupting other clients who are already associated with the group owner.
I use the manager.Connect () method to establish a connection. But I did not see any ways to disconnect. Only the other option I saw is manager.removeGroup () , but I think this will delete the entire group and interrupt the existing network connection.
How can I do it right?
thanks
The first parameter to the removeGroup () function is the channel. Therefore, I think that if this is initiated by the client, only the channel between the client and the group owner will be disabled.
manager.cancelConnect(channel, null);
Source: https://habr.com/ru/post/1438877/More articles:A Mercurial Job Feature - Maintaining a Custom Job Net of Best Practice? - version-controlupdate date value in oracle - sqlIs Mysql UUID_SHORT () comparable to UUID () - sqlWebRTC AEC on Android - javaViewpager does not save images properly - androidChanging stdin / stdout encoding at runtime in Python 3 - python-3.xProblem with mass copy Sql memory - c #PHP -> How can I check if XML is empty? - xmlCatch PHP Errors If XML File Is Empty - xmlDownloading a Perl File Using HTTP :: Request - postAll Articles