socket: checkpoint on socket layer / win32 impl; plug into ipc driving

This commit is contained in:
Ryan Fleury committed 2026-09-29 21:08:34 -07:00
1 parent f781622a54
commit e270def19f
5 files changed
+187 -17

No files matched your search

+10
View File
@@ -4,6 +4,9 @@
#ifndef SOCKET_H
#define SOCKET_H
////////////////////////////////
//~ rjf: Socket Types
#if !defined(SOCKET_PORT)
# define SOCKET_PORT 7423
#endif
@@ -40,6 +43,12 @@ struct SOCK_Endpoint
};
};
////////////////////////////////
//~ rjf: Wakeup Hook Function Types
#define SOCK_WAKEUP_FUNCTION_DEF(name) void name(void)
typedef SOCK_WAKEUP_FUNCTION_DEF(SOCK_WakeupFunctionType);
////////////////////////////////
//~ rjf: Helpers
@@ -54,6 +63,7 @@ internal SOCK_Endpoint sock_endpoint_from_string(String8 address_and_port);
#endif
internal void sock_init(void);
internal void sock_async_tick(void);
internal void sock_set_wakeup_hook(SOCK_WakeupFunctionType *hook);
////////////////////////////////
//~ rjf: @per_os_impl Sends