| 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 class MacOSAddrInfo extends AddrInfo { | 9 class MacOSAddrInfo extends AddrInfo { |
| 10 MacOSAddrInfo() : super._(); | 10 MacOSAddrInfo() : super._(); |
| 11 MacOSAddrInfo.fromAddress(int address) : super._fromAddress(address); | 11 MacOSAddrInfo.fromAddress(int address) : super._fromAddress(address); |
| (...skipping 28 matching lines...) Expand all Loading... |
| 40 | 40 |
| 41 int get family => buffer.getUint8(adr(1)); | 41 int get family => buffer.getUint8(adr(1)); |
| 42 set family(int family) { | 42 set family(int family) { |
| 43 buffer.setUint8(adr(1), family); | 43 buffer.setUint8(adr(1), family); |
| 44 } | 44 } |
| 45 } | 45 } |
| 46 | 46 |
| 47 class MacOSSockAddrIn = PosixSockAddrIn with MacOSSockAddrStorageMixin; | 47 class MacOSSockAddrIn = PosixSockAddrIn with MacOSSockAddrStorageMixin; |
| 48 | 48 |
| 49 class MacOSSockAddrIn6 = PosixSockAddrIn6 with MacOSSockAddrStorageMixin; | 49 class MacOSSockAddrIn6 = PosixSockAddrIn6 with MacOSSockAddrStorageMixin; |
| OLD | NEW |