AndroidAsync icon indicating copy to clipboard operation
AndroidAsync copied to clipboard

I created a web socket server with this library in my project, and this lib is pretty good. But why not provides a method which we can get the socket client's IP and port?

Open EvanWang1987 opened this issue 6 years ago • 1 comments

I created a web socket server with this library in my project, and this lib is pretty good. But why not provides a method which we can get the socket client's IP and port?

EvanWang1987 avatar Feb 20 '19 06:02 EvanWang1987

String address = ((AsyncNetworkSocket)webSocket.getSocket()).getRemoteAddress().getAddress().getHostAddress();

dotfeng avatar Mar 07 '19 00:03 dotfeng