11 lines
221 B
C++
11 lines
221 B
C++
|
#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
|