How to know when cocoahttpserver has started

511 Views Asked by At

Does it send a notification that it has started that can be listed for, or is there a delegate protocol to implement?

I can't find the documentation on the Google code page.

1

There are 1 best solutions below

0
On BEST ANSWER

The method - (BOOL)start:(NSError **)errPtr does return true when the server is started, false otherwise (any error will be available at errPtr pointer). Further, the server publishes bonjour announcement upon successful startup.