Mercurial
diff seobeo/seobeo.h @ 3:2758f5527d2b
[Seobeo] Working on simple TCP server and client logic.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Wed, 24 Sep 2025 18:49:09 -0700 |
| parents | adcfad6e86fb |
| children | 0b3b4f5887bb |
line wrap: on
line diff
--- a/seobeo/seobeo.h Wed Sep 24 13:15:32 2025 -0700 +++ b/seobeo/seobeo.h Wed Sep 24 18:49:09 2025 -0700 @@ -22,6 +22,13 @@ #include "dowa/dowa.h" -extern int Seobeo_CreateSocket(int32 stream, char* port, int32 backlog); +// --- Internal? --- // +extern int Seobeo_CreateSocket(int32 stream, char* port, int32 backlog); +extern void Seobeo_ListenClient(int sock_fd, void (*handle_client)(int)); +extern void *Seobeo_GetIP4OrIP6(struct sockaddr *sa); + +// --- TCP --- // +// extern int Seobeo_TCP_SocketCreate(char* port, int32 backlog) + #endif