android-websockets
android-websockets copied to clipboard
Bare minimum websockets (hybi13/RFC) client for Android
03-25 16:29:39.992: E/TAG(21060): java.net.SocketException: Socket closed 03-25 16:29:39.992: E/TAG(21060): at libcore.io.Posix.recvfromBytes(Native Method) 03-25 16:29:39.992: E/TAG(21060): at libcore.io.Posix.recvfrom(Posix.java:131) 03-25 16:29:39.992: E/TAG(21060): at libcore.io.BlockGuardOs.recvfrom(BlockGuardOs.java:164) 03-25 16:29:39.992: E/TAG(21060): at libcore.io.IoBridge.recvfrom(IoBridge.java:513) 03-25 16:29:39.992: E/TAG(21060):...
StatusLine, HttpException, Header and BasicLineParser are all part of deprecated `org.apache.http`. Are there plans to re-write this class using the `java.net.HttpURLConnection`?
Fixes issue #23
I have a web socket connected in app. Now app need to connect to different web socket url. But for second connection I after onconnect method called it immediately called...
is received messags but can't send messags  in connect method `mSocket = factory.createSocket(mURI.getHost(), port);` but mSocket is null
Hello, I would like to connect to server socket without needing to disable 4g. I connect to the hotspot server socket and I try to connect but I have a...
05-19 12:30:01.670: E/AndroidRuntime(9231): FATAL EXCEPTION: websocket-thread 05-19 12:30:01.670: E/AndroidRuntime(9231): Process: com.mywebsockettest, PID: 9231 05-19 12:30:01.670: E/AndroidRuntime(9231): java.lang.NullPointerException 05-19 12:30:01.670: E/AndroidRuntime(9231): at com.codebutler.android_websockets.WebSocketClient$3.run(WebSocketClient.java:245) 05-19 12:30:01.670: E/AndroidRuntime(9231): at android.os.Handler.handleCallback(Handler.java:733) 05-19 12:30:01.670: E/AndroidRuntime(9231):...
Thanks for the code :) anyway,is there a method just like 'client.isConnected()'?
When I use multi client to multi port It will disconnected . for example when I use two clients to connect to two ports to send two files Simultaneouslly the...