Allow use of multiple ENet channels

This commit is contained in:
Cameron Gutman 2023-07-04 14:40:53 -05:00
parent 11aedf56a2
commit 810945f5bf

View File

@ -106,7 +106,7 @@ namespace net {
enet_address_set_host(&addr, "0.0.0.0");
enet_address_set_port(&addr, port);
return host_t { enet_host_create(AF_INET, &addr, peers, 1, 0, 0) };
return host_t { enet_host_create(AF_INET, &addr, peers, 0, 0, 0) };
}
void