SDL_net: MakeAddrWithPort: don't specify protocol.

From b4f722e227807a992d8cda523e3ddaab312bd73a Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Sun, 13 Aug 2023 19:11:53 -0400
Subject: [PATCH] MakeAddrWithPort: don't specify protocol.

These might come in with IPPROTO_TCP and then get used for a UDP packet,
so it gets upset when it sees a socktype of SOCK_DGRAM with TCP. It can
figure it out for now, at least for IPv4 and IPv6.
---
 SDL_net.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/SDL_net.c b/SDL_net.c
index 17542e3..b7f3007 100644
--- a/SDL_net.c
+++ b/SDL_net.c
@@ -456,7 +456,7 @@ static struct addrinfo *MakeAddrInfoWithPort(const SDLNet_Address *addr, const i
     SDL_zero(hints);
     hints.ai_family = ainfo ? ainfo->ai_family : AF_UNSPEC;
     hints.ai_socktype = socktype;
-    hints.ai_protocol = ainfo ? ainfo->ai_protocol : 0;
+    //hints.ai_protocol = ainfo ? ainfo->ai_protocol : 0;
     hints.ai_flags = AI_NUMERICHOST | AI_NUMERICSERV | (!ainfo ? AI_PASSIVE : 0);
 
     char service[16];