OLD | NEW |
1 // Copyright (c) 2014, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dartino project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 /// Socket access. Only supported when Fletch is running on a Posix platform. | 5 /// Socket access. Only supported when Fletch is running on a Posix platform. |
6 /// | 6 /// |
7 /// Reporting issues | 7 /// Reporting issues |
8 /// ---------------- | 8 /// ---------------- |
9 /// Please file an issue [in the issue | 9 /// Please file an issue [in the issue |
10 /// tracker](https://github.com/dart-lang/fletch/issues/new?title=Add%20title&la
bels=Area-Package&body=%3Cissue%20description%3E%0A%3Crepro%20steps%3E%0A%3Cexpe
cted%20outcome%3E%0A%3Cactual%20outcome%3E). | 10 /// tracker](https://github.com/dart-lang/fletch/issues/new?title=Add%20title&la
bels=Area-Package&body=%3Cissue%20description%3E%0A%3Crepro%20steps%3E%0A%3Cexpe
cted%20outcome%3E%0A%3Cactual%20outcome%3E). |
11 library socket; | 11 library socket; |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 } | 294 } |
295 } | 295 } |
296 | 296 |
297 class SocketException implements Exception { | 297 class SocketException implements Exception { |
298 final String message; | 298 final String message; |
299 final int errno; | 299 final int errno; |
300 SocketException(this.message, this.errno); | 300 SocketException(this.message, this.errno); |
301 | 301 |
302 String toString() => "SocketException: $message, $errno"; | 302 String toString() => "SocketException: $message, $errno"; |
303 } | 303 } |
OLD | NEW |