From 4a57f4ec16c4f0819c04a23ef8c4d30499315ec7 Mon Sep 17 00:00:00 2001
From: SDL Wiki Bot <[EMAIL REDACTED]>
Date: Sat, 18 Jun 2022 02:10:06 +0000
Subject: [PATCH] Sync SDL_net wiki -> header
---
SDL_net.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/SDL_net.h b/SDL_net.h
index a9e77de..87cd469 100644
--- a/SDL_net.h
+++ b/SDL_net.h
@@ -220,9 +220,9 @@ typedef struct _TCPsocket *TCPsocket;
* \param ip The address to open a connection to (or to host a server on).
* \returns the newly created socket, or NULL if there was an error.
*
- * \sa SDLNet_TCP_Close
- *
* \since This function is available since SDL_net 2.0.0.
+ *
+ * \sa SDLNet_TCP_Close
*/
extern DECLSPEC TCPsocket SDLCALL SDLNet_TCP_Open(IPaddress *ip);
@@ -495,11 +495,11 @@ extern DECLSPEC UDPsocket SDLCALL SDLNet_UDP_Open(Uint16 port);
*
* You probably don't want to use this function outside of local testing.
*
- * \since This function is available since SDL_net 2.0.0.
- *
* \param sock the socket to simulate packet loss on.
* \param percent a value from 0 to 100 of likelihood to drop a packet (higher
* the number means more likelihood of dropping.
+ *
+ * \since This function is available since SDL_net 2.0.0.
*/
extern DECLSPEC void SDLCALL SDLNet_UDP_SetPacketLoss(UDPsocket sock, int percent);