mfikes / ambly

ClojureScript REPL into embedded JavaScriptCore
http://ambly.fikesfarm.com
Eclipse Public License 1.0
541 stars 21 forks source link

If TCP cannot bind, need to error out and not advertise #48

Closed mfikes closed 9 years ago

mfikes commented 9 years ago

Currently no checks are made to see if TCP can listen successfully. The code then proceeds to set up WebDAV, advertising via Bonjour. Then if your REPL connects, you will get "connection refused".

Instead, error handling should be done, with the result being that Bonjour is not even advertised in this broken state.