MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / fd_connect

Method fd_connect

net/kernel_socket.cpp:230–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228 }
229
230 virtual int fd_connect(int fd, const sockaddr* remote, socklen_t addrlen) {
231 return net::connect(fd, remote, addrlen, m_timeout);
232 }
233
234 ISocketStream* do_connect(const sockaddr_storage* remote,
235 const sockaddr_storage* local = nullptr) {

Callers

nothing calls this directly

Calls 1

connectFunction · 0.85

Tested by

no test coverage detected