Erik Little

Results 128 comments of Erik Little

What is the type of `serviceList[i].url`? My first guess is that it's not something that should be in JSON.

Make sure you've got the right server address. Looks like it's failing to find the server. What version of the client are you using?

You can translate Swift -> Objective-C nearly 1:1, it's not that different. ```objective-c [socket on:@"connect" callback:^(NSArray* data, SocketAckEmitter* ack) { NSLog(@"socket connected"); }]; ```

Again, if you look at the docs and the readme. You'll see how to enable logging. I'm don't have the time to translate everything to Objective-C.

Well: 1) Learn to translate Swift -> Objective-C and use the docs. It's not hard. 2) You have to emit after connecting. 3) If you aren't connecting then you need...

A timeout of zero will be no timeout.

The only thing I'm aware of that will break if you try and reconnect a closed socket is reconnecting. The thing I did with the app I based this on...

@mp3il That's what I've done in the past. I haven't had time to research a better alternative that doesn't rely on using Reachability.

I believe I put the close call inside a background task.