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

@ -1 +1 @@
Subproject commit 4d1067179bd933c6bf6465c406243472128fa34b Subproject commit 4f7ef11c2352dc53539d1ff93887ef637a6c2e2f

View File

@ -591,7 +591,7 @@ int startControlStream(void) {
} }
enet_address_set_host(&address, RemoteAddrString); enet_address_set_host(&address, RemoteAddrString);
address.port = 47999; enet_address_set_port(&address, 47999);
// Connect to the host // Connect to the host
peer = enet_host_connect(client, &address, 1, 0); peer = enet_host_connect(client, &address, 1, 0);

View File

@ -455,7 +455,7 @@ int performRtspHandshake(void) {
} }
enet_address_set_host(&address, RemoteAddrString); enet_address_set_host(&address, RemoteAddrString);
address.port = 48010; enet_address_set_port(&address, 48010);
// Connect to the host // Connect to the host
peer = enet_host_connect(client, &address, 1, 0); peer = enet_host_connect(client, &address, 1, 0);