June 13, 2012
10:22 a.m.
Mark, On 13 Jun 2012, at 12:09, Mark Smith wrote:
Hi :),
Does anyone know if there's a way to detect if a Zinc Server doesn't bind to a port, (probably because there's already a server listening on that port), and signal an error?
Thanks a lot,
Mark
Good question. Try server isRunning & server isListening as is done by most unit tests using #withServerDo: HTH, Sven -- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill