MCPcopy Create free account
hub / github.com/apache/brpc / bthread_connect

Function bthread_connect

src/butil/endpoint.cpp:52–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50DEFINE_bool(reuse_uds_path, false, "remove unix domain socket file before listen to it");
51
52__BEGIN_DECLS
53int BAIDU_WEAK bthread_connect(
54 int sockfd, const struct sockaddr *serv_addr, socklen_t addrlen) {
55 return ::connect(sockfd, serv_addr, addrlen);
56}
57
58int BAIDU_WEAK bthread_timed_connect(
59 int sockfd, const struct sockaddr* serv_addr,

Callers 2

TESTFunction · 0.85
bthread_timed_connectFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68