Update to the modified ENet API

This commit is contained in:
Cameron Gutman
2016-03-06 15:36:46 -08:00
parent 9d3fed1620
commit daf3b992cc
3 changed files with 3 additions and 3 deletions

2
enet

Submodule enet updated: 4d1067179b...4f7ef11c23

View File

@@ -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);

View File

@@ -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);