-
Notifications
You must be signed in to change notification settings - Fork 735
hi. i have a problem with tizen application #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Seems like your code reaches to the end too early, where triggers the destructor of the |
So I wrote a while statement at the end of the source code. But when I close my tizen application, client does not close. At the same time server is dead. And I'd like to know about your library design architecture in Ios Application. |
DEBUG=* node index.js See what's happened when your server is dying. Usually OS will close the physical connection for terminated applications. So your problem is If you want server to know when client is closed, please make sure to call Also, It is important to have some defensive code in the server side to deal with the case that client is drop without notification.
|
Consider all client-initiated closes to be close_reason_normal.
Hi. I'm trying to build your source code to Tizen. But there is a problem. Tizen is c language based. I want to receive messages on the server in real time. I have a call using the pthread the socket_io_client () function. But the connection was successful, but the right end close () is called.
How can i use your source code in c language environment?
There socket_io_client () is in the link below.
https://github.com/Francis0121/nornenjs_v3/blob/master/client-tizen-socket-io/src/socket_io_client.cpp
The text was updated successfully, but these errors were encountered: