Comments (7)
can you try setting the closed callback and see if that event gets fired?
from androidasync.
thanks for your fast support. I try it, but nope... the closed event wasn't fired
from androidasync.
what server are you using
from androidasync.
socket.io... but that give me a response...
that is the log output from the java console
05-24 16:28:40.753: DEBUG/Socket(1237): try to connect http://192.168.0.117:7788 e6bec1f1e18edd150fc439b8439e2e6b460ea0de62b2a3e3a01350fd03b5c5952a362911
05-24 16:28:41.453: INFO/AsyncHttpSocket(1237): com.koushikdutta.async.http.AsyncSSLSocketMiddleware Not keeping non-owned socket: null
and that comes from the terminal... so that is the node log...
{ headers:
{ host: '192.168.0.117',
'user-agent': 'Dalvik/1.6.0 (Linux; U; Android 4.2.2; google_sdk Build/JB_MR1.1)',
'accept-encoding': 'gzip, deflate',
connection: 'keep-alive',
accept: '/',
token: 'b449af1c867dac88eb2ec355cc35c201d286c806a582fcf5015edaea9e127ddf01724913' },
address: { address: '192.168.0.117', port: 53847 },
time: 'Fri May 24 2013 18:32:34 GMT+0200 (CEST)',
query: {},
url: '/socket.io/1/',
xdomain: false,
secure: undefined,
issued: 1369413154464 }
Session: b449af1c867dac88eb2ec355cc35c201d286c806a582fcf5015edaea9e127ddf01724913
undefi
{ b449af1c867dac88eb2ec355cc35c201d286c806a582fcf5015edaea9e127ddf01724913: { num: 1 } }
so there is a connection
from androidasync.
I think the event listner is not working for me... but i don't know why...
from androidasync.
Fixed with:
from androidasync.
wao, realy cool stuff and support, thanks a lot...!
from androidasync.
Related Issues (20)
- websocket server will close when receive data in version 3.0.8
- websocket server will block after send big text string HOT 1
- java.net.ConnectException: failed to connect to
- version:3.1.0,AsyncHttpServer not work
- Using AyncDataGram Server to Broadcast data to all clients connected to It
- AsyncNetworkSocket allocator give currentAlloc 0 most of time because of it unable to read and write using AsyncSocket
- 设置返回值code无效,啥情况 HOT 1
- mDataHandler failed to consume data HOT 1
- Callback is not received when network is poor and connection is terminated from other End HOT 1
- Version in the readme is old
- exception when connect to server HOT 1
- Running websocket server in background
- Can not add Http Header HOT 2
- Following the basic websocket example code, but HOT 1
- client got Connection reset by peer error when try to send binary message HOT 2
- Does the library use some Tracking link? HOT 2
- Finf
- How to do server support Multi-Threading and High concurrency HOT 2
- NullPointerException in HybiParser ( version 3.1.0 )
- mp3 with mediaplayer of android can not play over http
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from androidasync.