Skip to content

Commit 9c8e57b

Browse files
committed
debug why failing. suspect ipv6 packet tag on windows is failing
1 parent 66d37f3 commit 9c8e57b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

netcode.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,10 +479,14 @@ static int netcode_set_socket_codepoint( SOCKET socket, QOS_TRAFFIC_TYPE traffic
479479
HANDLE qosHandle;
480480
if ( QOSCreateHandle( &QosVersion, &qosHandle ) == FALSE )
481481
{
482+
// todo
483+
printf( "QOSCreateHandler failed\n" );
482484
return GetLastError();
483485
}
484486
if ( QOSAddSocketToFlow( qosHandle, socket, addr, trafficType, QOS_NON_ADAPTIVE_FLOW, &flowId ) == FALSE )
485487
{
488+
// todo
489+
printf( "QOSAddSocketToFlow failed\n" );
486490
return GetLastError();
487491
}
488492
return 0;
@@ -9141,9 +9145,10 @@ void test_address_map()
91419145

91429146
void test_packet_tagging()
91439147
{
9144-
// IMPORTANT: It's off by default because it doesn't play well with some older home routers
9148+
// IMPORTANT: Packet tagging is off by default because it doesn't play well with some older home routers
91459149
// See https://learn.microsoft.com/en-us/gaming/gdk/_content/gc/networking/overviews/qos-packet-tagging
91469150
// Turning it on can really improve network performance (much lower jitter) when played on Wi-Fi 6 routers
9151+
91479152
netcode_enable_packet_tagging();
91489153

91499154
{

0 commit comments

Comments
 (0)