Binds the underlying socket to a local address.
Declared in <folly/io/async/AsyncUDPServerSocket.h>
void
bind(
folly::SocketAddress const& addy,
SocketOptionMap const& options = emptySocketOptionMap,
std::string const& ifName = "");
| Name | Description |
|---|---|
| addy | The local address to bind to. |
| options | Socket options applied before and after binding. |
| ifName | The network interface to bind to, or empty for any. |