Hello,
I am using your library to create an ad-hoc WebSocketServer in Android, and it works very well.
However, in some cases I need to restart the WebSocketServer. Unfortunately, this is impossible because the flag of SO_REUSEADDR is not set, thus causing a BindException. Currently, this is fixed by simply restarting the application, but this is not desirable.
Could you allow the created socket in WebSocketServer.java in run() to be public, thus allowing users to set the socket.setReuseAddress(true) flag?
Thanks in advance
Hello,
I am using your library to create an ad-hoc WebSocketServer in Android, and it works very well.
However, in some cases I need to restart the WebSocketServer. Unfortunately, this is impossible because the flag of SO_REUSEADDR is not set, thus causing a BindException. Currently, this is fixed by simply restarting the application, but this is not desirable.
Could you allow the created socket in WebSocketServer.java in run() to be public, thus allowing users to set the socket.setReuseAddress(true) flag?
Thanks in advance