Skip to content
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

Get Connected Socket ID #68

Open
MukeshMuteja786 opened this issue Nov 15, 2016 · 0 comments
Open

Get Connected Socket ID #68

MukeshMuteja786 opened this issue Nov 15, 2016 · 0 comments

Comments

@MukeshMuteja786
Copy link

MukeshMuteja786 commented Nov 15, 2016

My Socket is connected to server but i need Socket id too,
Can anyone Please help me

[SIOSocket socketWithHost: @"http://192.168.1.240:9030" response: ^(SIOSocket *socket1) {

    NSLog(@"%@",socket1);
    socket = socket1;
   
    socket.onConnect =^()
    {
      
        NSLog(@"Socket Connected");
      //How to get Socket id Here    
       
    };

Server is sending details when Socket is connected

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant