Index: lib/http_multi_server.dart |
diff --git a/lib/http_multi_server.dart b/lib/http_multi_server.dart |
index 36d583f78d8c495a0e9062d4c344eea5e75895ca..abad76ebb9b163910e9b92ad208f48b16185a90c 100644 |
--- a/lib/http_multi_server.dart |
+++ b/lib/http_multi_server.dart |
@@ -148,7 +148,7 @@ class HttpMultiServer extends StreamView<HttpRequest> implements HttpServer { |
return new HttpMultiServer([v4Server, v6Server]); |
}).catchError((error) { |
if (error is! SocketException) throw error; |
- if (error.osError.errno != _addressInUseErrno) throw error; |
+ if (error.osError.errorCode != _addressInUseErrno) throw error; |
if (port != 0) throw error; |
if (remainingRetries == 0) throw error; |