Kylin/Nng/Listener.cpp

11 lines
221 B
C++
Raw Normal View History

2024-10-29 21:51:37 +08:00
#include "Listener.h"
#include "Socket.h"
namespace Nng {
Listener::Listener(const Socket &socket, const std::string_view &url) {
nng_listener_create(&m_listener, socket.m_socket, url.data());
}
} // namespace Nng