folly::AsyncSocketBase

Base interface for asynchronous sockets bound to an event base.

Synopsis

Declared in <folly/io/async/AsyncSocketBase.h>

class AsyncSocketBase;

Member Functions

NameDescription
~AsyncSocketBase [destructor] [virtual]Destroys the socket.
getAddress [virtual]Stores the socket's address into the given output parameter.
getEventBase [virtual]Returns the event base this socket is attached to.

Derived Classes

NameDescription
AsyncServerSocket AsyncServerSocket is a listening socket that asynchronously informs a callback whenever a new connection has been accepted.
AsyncTransport AsyncTransport defines an asynchronous API for bidirectional streaming I/O.
AsyncUDPServerSocket UDP server socket