comparison 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
comparison
equal deleted inserted replaced
2:8a43dedbe530 3:2758f5527d2b
20 #include <fcntl.h> 20 #include <fcntl.h>
21 21
22 #include "dowa/dowa.h" 22 #include "dowa/dowa.h"
23 23
24 24
25 extern int Seobeo_CreateSocket(int32 stream, char* port, int32 backlog); 25 // --- Internal? --- //
26 extern int Seobeo_CreateSocket(int32 stream, char* port, int32 backlog);
27 extern void Seobeo_ListenClient(int sock_fd, void (*handle_client)(int));
28 extern void *Seobeo_GetIP4OrIP6(struct sockaddr *sa);
29
30 // --- TCP --- //
31 // extern int Seobeo_TCP_SocketCreate(char* port, int32 backlog)
32
26 33
27 #endif 34 #endif