folly::portability::sockets

Portable wrappers and imports for BSD socket functions.

Using Declarations

NameDescription
accept Imported global accept.
bind Imported global bind.
connect Imported global connect.
getpeername Imported global getpeername.
getsockname Imported global getsockname.
getsockopt Imported global getsockopt.
inet_ntop Imported global inet_ntop.
listen Imported global listen.
poll Imported global poll.
recv Imported global recv.
recvfrom Imported global recvfrom.
send Imported global send.
sendmsg Imported global sendmsg.
sendto Imported global sendto.
setsockopt Imported global setsockopt.
shutdown Imported global shutdown.
socket Imported global socket.