mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-17 17:05:50 +00:00
Update to the modified ENet API
This commit is contained in:
parent
9d3fed1620
commit
daf3b992cc
2
enet
2
enet
@ -1 +1 @@
|
||||
Subproject commit 4d1067179bd933c6bf6465c406243472128fa34b
|
||||
Subproject commit 4f7ef11c2352dc53539d1ff93887ef637a6c2e2f
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user