Skip to content
BSD syscall#98

svc · unix #98

connect

Initiates a connection from a socket to a remote address.

Prototype

int connect(int s, caddr_t name, socklen_t namelen);

Returns: int

Arguments

NameTypeDirDescription
sint-
namecaddr_t-
namelensocklen_t-

Version history

XNU tagmacOS#
xnu-1456.1.26macOS 10.6 Snow Leopard98
xnu-1486.2.1198
xnu-1504.15.398
xnu-1504.3.1298
xnu-1504.7.498
xnu-1504.9.1798
xnu-1504.9.2698
xnu-1504.9.3798

Notes

No prose documentation yet.