Which is the websocket version used in node.js? - ios

I am trying to connect to node.js websocket using unitt ios client. But it is failing continuously may be because I'm using a different client. Which is the websocket version used in node.js?

I've just updated my websocket library to be backwards compatible with hixie-76, which is used by iPhone / iPad / Safari / Opera.
See if that helps: https://github.com/einaros/ws

I have had luck with CocoaAsyncSocket. You can find the GitHub project here.
https://github.com/robbiehanson/CocoaAsyncSocket
Node.js can be used with Socket.io in which CocoaAsyncSockey can connect to.

I suggest updating your stack to use the iOS WebSocket library we just released. It's called SocketRocket. Caveat: it's still beta and untested in production.
It conforms to RFC 6455 which is the latest (and final) WebSocket standard. The Unitt client does not and is on an old standard which may be part of your issues you're having.
It also does not depend on CocoaAsyncSocket (or any other external dependencies). For me, this is a huge win because there are about half the number of places you can have bugs.
Very fast as well. A benchmark has shown it to perform better than a C++ (ASIO) WebSocket client.

I got it. I got a working socket.io client for IOS. You can download it from here http://minus.com/mbataWf5It#1 . I got this link from a youtube video http://www.youtube.com/watch?v=VCXKMVENW_o

Related

Sending phone call without TAPI installed?

I am developing an auto-dialer application to send out mass phone calls to a list of clients from a database. I am using Dialogic's Diva SDK 5.5 WIN API to develop this application. I believe my code is running correctly and I can have the application begin the process of sending a call out, however the issue is that it stops working and just returns "Dialing" as the progress status. The call fails to do anything other than this and I have now been troubleshooting it for quite a while and found return code from one of the error tests that reports there is no TAPI installed on my computer.
Is TAPI required to be able to send phone calls successfully from any computer or is it likely the issue is just an error in my code? I am using the Dialogic Diva UM-Analog-4 media board and I believe I have all of the cables hooked up correctly to it. I cannot find anything that helps answer this question in the Dialogic manuals, any help or insight into this issue is greatly appreciated.
Which of the many APIs are you using? What version of Windows? You mentioned the 5.5 SDK, but is it the Diva API, Diva Component API, Diva API for .NET, etc.? What is your development environment? Do you call "DivaInitialize" as your first command or something else like LineInitializeEX? As of Dec 2015, Dialogic stopped supporting TAPI on their Diva boards (though it still works), so calls to one of their direct APIs should not require TAPI. However using these older 5.5 drivers, especially if you are using the COM controls, it may sit on top of TAPI. You may want to check the follwing:
run services.msc from a command prompt and make sure the "Telephony" service is running. It should be set to "automatic" if you are going to use TAPI
Check that the TSP is installed for your Dialogic card. You should have seen something related to TAPI during the install. The file "divasp.tsp" should be in your system32 folder
Make sure you ran and saved the settings in the Dialogic Configuration Manager for lines, boards, and especially "services" so it connects the correct API for you to use.

Phonegap Websockets iOS 8

I'm working on a Phonegap app implementing websockets (as several other people have done on here) strictly for iOS but I cannot seem to get the call to run. I am aware that iOS now allows websockets, and several older solutions are out of date. Does anyone have a more recent tutorial or demonstration of websockets via phonegap for iOS?
I found there is no special implementation needed, and despite my best efforts there was actually an error with my javascript, and when editing in Phonegap be careful which files you are modifying, as Phonegap will keep copies for each platform as well as a master version

WebDAV client Library for iOS and Mac OS

I would like to be able to access a WebDAV server from my iOS 7+ and Mac OS app. Does anyone know to a good and reliable library to support this?
I have been searching for a library quit a while now but so far I hadn't any success. Of course there are several threads about this topic (here on SO and elsewhere) but most of theme are quite out dated.
DZWebDAVClient looks quite promising. But it is based on an older version of AFNetworking has not been update for quite a while. I have not been able to find any working example and was not able to get a connection to my own WebDAV server.
The same is true for wtclient and ConnectionKit
Has someone used a WebDAV client library in production? Any recommendations what lib can be used or which one is not good?
Please look at GCDWebServer
it includes webdav library for MAC OSX and IOS

OData support for iOS (alternative to OData4ObjC)

I was planning on using OData4ObjC to access OData from my iPhone app. But it seems that OData4ObjC has become an inactive project (no activity at all for almost a year and no support for anything past iOS 4).
Does anyone else know of an equally robust OData Client library?
There is a ios6 fork on github for Odata4ObjC:
https://github.com/ElizabethDuncan/OData4ObjC
No real idea what changes etc. have been made to the original or why it was forked like this (as opposed to making the changes directly in the original repository)
If you do not have to write native app then develop a hybrid app with phonegap and jaydata

Node.JS Development on iOS?

I'm wondering if there is any chance to run Node.JS on iOS to develop as on desktop? I definitely realize I must have jailbroken iPad to install node or mongodb. The only I've found is good code editor Diet Coda with FTP/SSH support, but no more. How can I get node in "real" terminal on iPad, launching my .js files on certain port etc?
P.s. I'm not big fan of cloud9 'cause it's requires Internet connection and at this time supports only node 0.6
Found a so-so solution: connect to my server via ssh and develop my app in console. But it requires internet connection, that's not good.
A quick search reveals NodeJS on iOS.
The long story short is that I got NodeJS compiled on my jailbroken iPhone 4! It was a long quest to get it working properly but I've done the hard work and compiled a .deb file compatible with Cydia for your installing pleasure...
It's a year and a half old, so the article might be a little out of date, but it's definitely a good starting point. See also how to set up gcc if you need to do that on your iOS device.
Aside: If you're a rooted Android developer, you may be interested in anode.
I am working on an implementation of Node.js on non-jailbroken iOS devices.
http://www.youtube.com/watch?v=xzFH80-HYTo
It is not ready for a public consumption yet, but I am making a good progress and have a plan to open-source it soon.
You can use node.js on iOS without jailbreaking, and without violating any Apple
terms of service. LiquidCore is an open source project that enables node.js on both Android and iOS for deploying micro applications. iOS support is now available from version 0.5.0.
CodeSandbox for iOS works amazingly well, though it's not a console interface.
CodeSandbox for iOS offers a full-fledged development environment with all the tools you need to develop projects of any size. Create a sandbox to quickly prototype your ideas or work on a large codebase with CodeSandbox Projects: whatever your needs are we have you covered.
I've wondered how much work I could get in something like the IconFactory's WorldWideWeb. That company has been around a while, and WWW makes it easy to do work in a browser-hosted environment.
So CodeSandbox almost answers your question, and, if it disappears at some point, WorldWideWeb might be a fallback in a pinch.

Resources