OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef NET_SOCKET_SCTP_CLIENT_SOCKET_H_ |
| 6 #define NET_SOCKET_SCTP_CLIENT_SOCKET_H_ |
| 7 #pragma once |
| 8 |
| 9 #include "build/build_config.h" |
| 10 |
| 11 #if defined(OS_WIN) |
| 12 #include "net/socket/sctp_client_socket_win.h" |
| 13 #elif defined(OS_POSIX) |
| 14 #include "net/socket/sctp_client_socket_libevent.h" |
| 15 #endif |
| 16 |
| 17 namespace net { |
| 18 |
| 19 // A client socket that uses SCTP as the transport layer. |
| 20 #if defined(OS_WIN) |
| 21 typedef SCTPClientSocketWin SCTPClientSocket; |
| 22 #elif defined(OS_POSIX) |
| 23 typedef SCTPClientSocketLibevent SCTPClientSocket; |
| 24 #endif |
| 25 |
| 26 } // namespace net |
| 27 |
| 28 #endif // NET_SOCKET_SCTP_CLIENT_SOCKET_H_ |
OLD | NEW |