aboutsummaryrefslogtreecommitdiff
path: root/lib/libostp/server.c
AgeCommit message (Collapse)Author
11 daysserver: listener: Prevent integer underflowIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-10-03lib: Ensure recv_ap->lp is setIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-10-03server: Fix handling of multiple clientsIan Moffett
Improve handling of multiple connected clients. This fixes issues related to blocking of one client while another is connected as well as certain race conditions. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-10-03lib: server: Add listener_clients()Ian Moffett
Add function to return a list of connected clients. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-10-03lib: Add missing includesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-10-01project: Convert project to libraryIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-09-29project: Massive fixupsIan Moffett
- Fix client handling - Add multithreading - Fixup bad values Signed-off-by: Ian Moffett <ian@osmora.org>
2024-09-29project: Move server/client code into libraryIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>