pkyeck / socket.IO-objc

socket.io v0.7.2 — 0.9.x for iOS and OS X
MIT License
1.97k stars 439 forks source link

multiple namespace over just one socket connection. #59

Open yapiskan opened 11 years ago

yapiskan commented 11 years ago

Hi,

I have a socket server with web and iOS clients. And the socket server has multiple namespaces(game/chat/notification). I can connect to the server over one socket on web client by socket.io-client. The socket.id keeps same on each namespace connection to the server while using the web client. But the iOS client needs to create a new socket connection to connect each namespace. And I am having 3 socket connections with different socket.ids. I would like to decrease these socket connections to 1 just like the web client. Is it possible? Or I am on a wrong way?

Thanks in advance.

pkyeck commented 11 years ago

hey. i never used namespaces myself and the NS addition to this library came from someone else

Namespace support by Sam Lown sam@cabify.com at Cabify.

sorry for not being of much help.

jbaez commented 10 years ago

198 Namespace fix