MCPcopy Create free account
hub / github.com/Haivision/srt / OpenServer

Method OpenServer

testing/testmedia.hpp:167–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165 void SetupRendezvous(std::string adapter, std::string host, int port);
166
167 void OpenServer(std::string host, int port, int backlog = 1)
168 {
169 PrepareListener(host, port, backlog);
170 if (transmit_accept_hook_fn)
171 {
172 srt_listen_callback(m_bindsock, transmit_accept_hook_fn, transmit_accept_hook_op);
173 }
174 AcceptNewClient();
175 }
176
177 void OpenRendezvous(std::string adapter, std::string host, int port)
178 {

Callers

nothing calls this directly

Calls 1

srt_listen_callbackFunction · 0.85

Tested by

no test coverage detected