|
nanoMMO 0.97.8
Building an MMO: The Engineering Series
|
#include "server/listen.h"#include <cstdint>#include <system_error>#include "absl/strings/str_cat.h"#include "asio/socket_base.hpp"Go to the source code of this file.
Namespaces | |
| namespace | nanommo |
Functions | |
| absl::Status | nanommo::Listen (asio::ip::tcp::acceptor &acceptor, uint16_t port) |
| Opens the acceptor on the port, on all addresses, and starts listening. | |
| absl::Status | nanommo::Bind (asio::ip::udp::socket &socket, uint16_t port) |
| Opens the socket on the port, on all addresses, for datagrams. | |
| absl::Status | nanommo::ListenAndBind (asio::ip::tcp::acceptor &acceptor, asio::ip::udp::socket &socket, std::span< const uint16_t > ports) |