mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-04-02 22:06:10 +00:00
Update ENet submodule
This commit is contained in:
2
enet
2
enet
Submodule enet updated: bdda0eecc5...880e41f3ab
@@ -1428,6 +1428,12 @@ int startControlStream(void) {
|
|||||||
|
|
||||||
client->intercept = ignoreDisconnectIntercept;
|
client->intercept = ignoreDisconnectIntercept;
|
||||||
|
|
||||||
|
// Enable high priority QoS marking on control stream traffic
|
||||||
|
//
|
||||||
|
// NB: It is important to do this before connecting because there's logic in the connect
|
||||||
|
// retransmission code to detect QoS-intolerant routes and disable QoS marking for those.
|
||||||
|
enet_socket_set_option (client->socket, ENET_SOCKOPT_QOS, 1);
|
||||||
|
|
||||||
// Connect to the host
|
// Connect to the host
|
||||||
peer = enet_host_connect(client, &address, CTRL_CHANNEL_COUNT, 0);
|
peer = enet_host_connect(client, &address, CTRL_CHANNEL_COUNT, 0);
|
||||||
if (peer == NULL) {
|
if (peer == NULL) {
|
||||||
|
|||||||
Reference in New Issue
Block a user