mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-04-20 23:20:17 +00:00
Update to the modified ENet API
This commit is contained in:
@@ -591,7 +591,7 @@ int startControlStream(void) {
|
||||
}
|
||||
|
||||
enet_address_set_host(&address, RemoteAddrString);
|
||||
address.port = 47999;
|
||||
enet_address_set_port(&address, 47999);
|
||||
|
||||
// Connect to the host
|
||||
peer = enet_host_connect(client, &address, 1, 0);
|
||||
|
||||
@@ -455,7 +455,7 @@ int performRtspHandshake(void) {
|
||||
}
|
||||
|
||||
enet_address_set_host(&address, RemoteAddrString);
|
||||
address.port = 48010;
|
||||
enet_address_set_port(&address, 48010);
|
||||
|
||||
// Connect to the host
|
||||
peer = enet_host_connect(client, &address, 1, 0);
|
||||
|
||||
Reference in New Issue
Block a user