Mercurial
diff gara/main.c @ 66:a0f0ad5e42eb
[Misc] taking out capital P stuff.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Wed, 24 Dec 2025 06:34:19 -0800 |
| parents | ac8626c7859c |
| children | 19cccf6e866a |
line wrap: on
line diff
--- a/gara/main.c Wed Dec 24 06:22:59 2025 -0800 +++ b/gara/main.c Wed Dec 24 06:34:19 2025 -0800 @@ -1,7 +1,7 @@ #include "seobeo/seobeo.h" #include "stdio.h" -void HandleClientRequest(Seobeo_PHandle p_cli_handle) { +void HandleClientRequest(Seobeo_Handle *p_cli_handle) { char *hello = "Hello good sir"; Seobeo_Handle_Queue(p_cli_handle, (uint8_t*)hello, 14); Seobeo_Handle_Flush(p_cli_handle); @@ -22,12 +22,12 @@ printf("Server initializing\n"); const char *PORT = "3322"; - Seobeo_PHandle server = Seobeo_Stream_Handle_Server_Create(NULL, PORT); + Seobeo_Handle *server = Seobeo_Stream_Handle_Server_Create(NULL, PORT); printf("Server running\n"); while (1) { - Seobeo_PHandle p_cli_handle = + Seobeo_Handle *p_cli_handle = Seobeo_Stream_Handle_Server_Accept(server); if (!p_cli_handle) continue;