OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 // Accessor classes to read and write networking related structures. | 5 // Accessor classes to read and write networking related structures. |
6 | 6 |
7 part of os; | 7 part of os; |
8 | 8 |
9 /// The AddrInfo class wraps the native struct `addrinfo`. | 9 /// The AddrInfo class wraps the native struct `addrinfo`. |
10 /// | 10 /// |
11 /// This structure is platform specific (the name and address fields are swapped | 11 /// This structure is platform specific (the name and address fields are swapped |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 InternetAddress get address; | 72 InternetAddress get address; |
73 set address(InternetAddress address); | 73 set address(InternetAddress address); |
74 } | 74 } |
75 | 75 |
76 abstract class SockAddrIn6 extends SockAddrIn { | 76 abstract class SockAddrIn6 extends SockAddrIn { |
77 int get flowId; | 77 int get flowId; |
78 set flowId(int flowId); | 78 set flowId(int flowId); |
79 int get scopeId; | 79 int get scopeId; |
80 set scopeId(int scopeId); | 80 set scopeId(int scopeId); |
81 } | 81 } |
OLD | NEW |