Mercurial
comparison seobeo/seobeo.h @ 1:adcfad6e86fb
Updated naming and separated out some logic within seobeo.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Wed, 24 Sep 2025 09:11:20 -0700 |
| parents | |
| children | 2758f5527d2b |
comparison
equal
deleted
inserted
replaced
| 0:5695ef413be0 | 1:adcfad6e86fb |
|---|---|
| 1 #ifndef SEOBEO_SERVER_H | |
| 2 #define SEOBEO_SERVER_H | |
| 3 | |
| 4 // --- Seobeo --- // | |
| 5 // Library for creating sockets, binding sockets, and listening to a sockets. | |
| 6 // Sending and unpacking bytes of data. | |
| 7 | |
| 8 #include <stdio.h> | |
| 9 #include <stdlib.h> | |
| 10 #include <unistd.h> | |
| 11 #include <errno.h> | |
| 12 #include <string.h> | |
| 13 #include <sys/types.h> | |
| 14 #include <sys/socket.h> | |
| 15 #include <netinet/in.h> | |
| 16 #include <netdb.h> | |
| 17 #include <arpa/inet.h> | |
| 18 #include <sys/wait.h> | |
| 19 #include <signal.h> | |
| 20 #include <fcntl.h> | |
| 21 | |
| 22 #include "dowa/dowa.h" | |
| 23 | |
| 24 | |
| 25 extern int Seobeo_CreateSocket(int32 stream, char* port, int32 backlog); | |
| 26 | |
| 27 #endif |