| OLD | NEW | 
|---|
| (Empty) |  | 
|  | 1 // Copyright (c) 2017, the Dart project authors.  Please see the AUTHORS file | 
|  | 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. | 
|  | 4 | 
|  | 5 #if !defined(DART_IO_DISABLED) | 
|  | 6 | 
|  | 7 #include "platform/globals.h" | 
|  | 8 #if defined(HOST_OS_WINDOWS) | 
|  | 9 | 
|  | 10 #include "bin/builtin.h" | 
|  | 11 #include "bin/log.h" | 
|  | 12 #include "bin/utils.h" | 
|  | 13 #include "bin/utils_win.h" | 
|  | 14 | 
|  | 15 namespace dart { | 
|  | 16 namespace bin { | 
|  | 17 | 
|  | 18 SynchronousSocket::SynchronousSocket(intptr_t fd) | 
|  | 19     : ReferenceCounted(), fd_(fd), port_(ILLEGAL_PORT) { | 
|  | 20   LOG_ERR("SynchronousSocket is unimplemented\n"); | 
|  | 21   UNIMPLEMENTED(); | 
|  | 22 } | 
|  | 23 | 
|  | 24 | 
|  | 25 void SynchronousSocket::SetClosedFd() { | 
|  | 26   LOG_ERR("SynchronousSocket::SetClosedFd is unimplemented\n"); | 
|  | 27   UNIMPLEMENTED(); | 
|  | 28 } | 
|  | 29 | 
|  | 30 | 
|  | 31 intptr_t SynchronousSocket::CreateConnect(const RawAddr& addr) { | 
|  | 32   LOG_ERR("SynchronousSocket::CreateConnect is unimplemented\n"); | 
|  | 33   UNIMPLEMENTED(); | 
|  | 34   return -1; | 
|  | 35 } | 
|  | 36 | 
|  | 37 | 
|  | 38 intptr_t SynchronousSocket::CreateBindConnect(const RawAddr& addr, | 
|  | 39                                               const RawAddr& source_addr) { | 
|  | 40   LOG_ERR("SynchronousSocket::CreateBindConnect is unimplemented\n"); | 
|  | 41   UNIMPLEMENTED(); | 
|  | 42   return -1; | 
|  | 43 } | 
|  | 44 | 
|  | 45 }  // namespace bin | 
|  | 46 }  // namespace dart | 
|  | 47 | 
|  | 48 #endif  // defined(HOST_OS_WINDOWS) | 
|  | 49 | 
|  | 50 #endif  // !defined(DART_IO_DISABLED) | 
| OLD | NEW | 
|---|