Added network sink and fixes to the networking lib

This commit is contained in:
Ryzerth
2021-07-30 21:56:34 +02:00
parent 1aa2c064f7
commit 7f4557527e
9 changed files with 489 additions and 28 deletions

View File

@ -163,7 +163,7 @@ namespace spyserver {
}
SpyServerClient connect(std::string host, uint16_t port, dsp::stream<dsp::complex_t>* out) {
net::Conn conn = net::connect(net::PROTO_TCP, host, port);
net::Conn conn = net::connect(host, port);
if (!conn) {
return NULL;
}