diff seobeo/seobeo.h @ 125:f236c895604e

[MrJuneJune] Added web socket for chat to this.
author June Park <parkjune1995@gmail.com>
date Thu, 08 Jan 2026 08:46:49 -0800
parents 7b1719fa918c
children 6de849867459 058de208e640
line wrap: on
line diff
--- a/seobeo/seobeo.h	Thu Jan 08 07:31:32 2026 -0800
+++ b/seobeo/seobeo.h	Thu Jan 08 08:46:49 2026 -0800
@@ -313,7 +313,7 @@
 /* Send binary message to specific WebSocket client. */
 extern int32                              Seobeo_WebSocket_Server_Send_Binary(Seobeo_WebSocket_Server_Connection *p_conn, const uint8 *data, size_t length);
 /* Broadcast text message to all connected WebSocket clients. */
-extern void                               Seobeo_WebSocket_Server_Broadcast_Text(const char *text);
+extern void                               Seobeo_WebSocket_Server_Broadcast_Text(const char *text, Seobeo_WebSocket_Server_Connection *origin_p_conn);
 /* Broadcast binary message to all connected WebSocket clients. */
 extern void                               Seobeo_WebSocket_Server_Broadcast_Binary(const uint8 *data, size_t length);
 /* Close WebSocket connection with status code and reason. */