Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(208)

Side by Side Diff: runtime/bin/socket_fuchsia.cc

Issue 2205913003: Better error-message when bind fails. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Add android support. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/bin/socket_android.cc ('k') | runtime/bin/socket_linux.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart 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 file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #if !defined(DART_IO_DISABLED) 5 #if !defined(DART_IO_DISABLED)
6 6
7 #include "platform/globals.h" 7 #include "platform/globals.h"
8 #if defined(TARGET_OS_FUCHSIA) 8 #if defined(TARGET_OS_FUCHSIA)
9 9
10 #include "bin/socket.h" 10 #include "bin/socket.h"
(...skipping 27 matching lines...) Expand all
38 } 38 }
39 39
40 40
41 intptr_t Socket::CreateBindConnect(const RawAddr& addr, 41 intptr_t Socket::CreateBindConnect(const RawAddr& addr,
42 const RawAddr& source_addr) { 42 const RawAddr& source_addr) {
43 UNIMPLEMENTED(); 43 UNIMPLEMENTED();
44 return -1; 44 return -1;
45 } 45 }
46 46
47 47
48 bool Socket::IsBindError(intptr_t error_number) {
49 UNIMPLEMENTED();
50 return false;
51 }
52
53
48 intptr_t Socket::Available(intptr_t fd) { 54 intptr_t Socket::Available(intptr_t fd) {
49 UNIMPLEMENTED(); 55 UNIMPLEMENTED();
50 return -1; 56 return -1;
51 } 57 }
52 58
53 59
54 intptr_t Socket::Read(intptr_t fd, void* buffer, intptr_t num_bytes) { 60 intptr_t Socket::Read(intptr_t fd, void* buffer, intptr_t num_bytes) {
55 UNIMPLEMENTED(); 61 UNIMPLEMENTED();
56 return -1; 62 return -1;
57 } 63 }
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 UNIMPLEMENTED(); 239 UNIMPLEMENTED();
234 return false; 240 return false;
235 } 241 }
236 242
237 } // namespace bin 243 } // namespace bin
238 } // namespace dart 244 } // namespace dart
239 245
240 #endif // defined(TARGET_OS_FUCHSIA) 246 #endif // defined(TARGET_OS_FUCHSIA)
241 247
242 #endif // !defined(DART_IO_DISABLED) 248 #endif // !defined(DART_IO_DISABLED)
OLDNEW
« no previous file with comments | « runtime/bin/socket_android.cc ('k') | runtime/bin/socket_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698