From 5eab01414d55d4e4229c62e95725a28847ece9cb Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Fri, 15 May 2026 10:22:10 -0400
Subject: [PATCH] docs: Minor documentation tweak to NET_Datagram fields.
---
include/SDL3_net/SDL_net.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/SDL3_net/SDL_net.h b/include/SDL3_net/SDL_net.h
index a6b246b..87c3455 100644
--- a/include/SDL3_net/SDL_net.h
+++ b/include/SDL3_net/SDL_net.h
@@ -1187,8 +1187,8 @@ typedef struct NET_DatagramSocket NET_DatagramSocket;
*/
typedef struct NET_Datagram
{
- NET_Address *addr; /**< this is unref'd by NET_DestroyDatagram. You only need to ref it if you want to keep it. */
- Uint16 port; /**< these do not have to come from the same port the receiver is bound to. These are in host byte order, don't byteswap them! */
+ NET_Address *addr; /**< Sender's address. This is unref'd by NET_DestroyDatagram. You only need to ref it if you want to keep it. */
+ Uint16 port; /**< Sender's port. These do not have to come from the same port the receiver is bound to. These are in host byte order, don't byteswap them! */
Uint8 *buf; /**< the payload of this datagram. */
int buflen; /**< the number of bytes available at `buf`. */
} NET_Datagram;