nix
0.26.4
In nix::
sys::
socket
Modules
sockopt
Structs
AlgAddr
CmsgIterator
IoSliceIterator
MsgFlags
MultiHeaders
MultiResults
NetlinkAddr
RecvMsg
SockFlag
TimestampingFlag
Timestamps
UnixAddr
UnixCredentials
VsockAddr
cmsghdr
msghdr
sockaddr
sockaddr_storage
sockaddr_un
Enums
AddressFamily
ControlMessage
ControlMessageOwned
Shutdown
SockAddr
SockProtocol
SockType
Traits
GetSockOpt
SetSockOpt
SockaddrLike
Functions
accept
accept4
bind
connect
getpeername
getsockname
getsockopt
listen
recv
recvfrom
recvmmsg
recvmsg
send
sendmmsg
sendmsg
sendto
setsockopt
shutdown
sockaddr_storage_to_addr
socket
socketpair
Type Aliases
sa_family_t
Unions
SockaddrStorage
nix
::
sys
::
socket
Function
accept
Copy item path
Settings
Help
Summary
Source
pub fn accept(sockfd:
RawFd
) ->
Result
<
RawFd
>
Expand description
Accept a connection on a socket
Further reading