2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
42#include "net/phy/stream/PhysicalSocketClient.h"
44#ifndef DOXYGEN_SHOULD_SKIP_THIS
46#include "core/system/socket.h"
54 template <
typename SocketAddress>
56 return core
::system::connect(Super::getFd()
, &remoteAddress.getSockAddr()
, remoteAddress.getSockAddrLen()
);
59 template <
typename SocketAddress>
61 return cErrno == EINPROGRESS;
~PhysicalSocket() override
PhysicalSocket(int type, int protocol)
~PhysicalSocketClient() override
~PhysicalSocket() override
int connect(SocketAddress &remoteAddress)
static bool connectInProgress(int cErrno)
int connect(int sockfd, const sockaddr *addr, socklen_t addrlen)