mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-02-16 10:30:59 +00:00
Update to the modified ENet API
This commit is contained in:
2
enet
2
enet
Submodule enet updated: 4d1067179b...4f7ef11c23
@@ -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