Create a socket.io connection to node.js server
Create a socket.io connection to node.js server
- Subject: Create a socket.io connection to node.js server
- From: Kévin Vavelin <email@hidden>
- Date: Fri, 07 Dec 2012 15:25:09 +0100
Hi there,
I want to create a socket.io tube between my iOS app and my server who's running on node.js, I want to implement it for getting some now.js method and get many many feature like my web page and my native app.
I tried CFStreamCreatePairWithSocketToHost(kCFAllocatorDefault, (CFStringRef)@"neventy.fr", 80, &readStream, &writeStream);
But it seems it doesn't work… I get 4 stream event (1 and 2) and after 3 event I get stream event 2 and 4. I don't know why and how I can connect to my node.js server :/ Do you have an idea ?
Thanks for your help.
Cheers,
Vavelin Kévin
Twitter | Blog | LinkedIn
Entrepreneur
Developer OS X / iOS
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden