• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Create a socket.io connection to node.js server
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Create a socket.io connection to node.js server
      • From: Jens Alfke <email@hidden>
  • Prev by Date: leak in AVAudioPlayer ?
  • Next by Date: Re: Localization of Help
  • Previous by thread: Re: leak in AVAudioPlayer ?
  • Next by thread: Re: Create a socket.io connection to node.js server
  • Index(es):
    • Date
    • Thread