Turi Create
4.0
socket_config.hpp
1
/* Copyright © 2017 Apple Inc. All rights reserved.
2
*
3
* Use of this source code is governed by a BSD-3-clause license that can
4
* be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
5
*/
6
#ifndef LIBNANOSOCKETS_SOCKET_CONFIG_HPP
7
#define LIBNANOSOCKETS_SOCKET_CONFIG_HPP
8
#include <string>
9
namespace
turi
{
10
namespace
nanosockets
{
11
extern
int
SEND_TIMEOUT;
12
extern
int
RECV_TIMEOUT;
13
14
void
set_send_timeout(
int
ms);
15
void
set_recv_timeout(
int
ms);
16
17
void
set_conservative_socket_parameters(
int
socket);
18
19
extern
int64_t FORCE_IPC_TO_TCP_FALLBACK;
20
21
/**
22
* \ingroup nanosockets
23
* Normalizes an zeromq address.
24
* On windows, this converts IPc addresses to localhost address.
25
*/
26
std::string
normalize_address
(
const
std::string& address);
27
}
28
}
29
#endif
turi::nanosockets::normalize_address
std::string normalize_address(const std::string &address)
turi
SKD.
Definition:
capi_initialization.hpp:11
turi::nanosockets
Definition:
async_reply_socket.hpp:18
core
system
nanosockets
socket_config.hpp
Generated by
1.8.13