일단 bind까지 구현 완료료

This commit is contained in:
2025-04-21 23:16:30 +09:00
parent 7f53703f60
commit 819bd5362e
6 changed files with 94 additions and 8 deletions

View File

@@ -2,11 +2,13 @@
#ifdef _WIN32
#include <winsock2.h>
#include <ws2tcpip.h>
#include <windows.h>
#elif __linux__
#include <sys/types.h>
#include <sys/socket.h>
#include <errno.h>
#include <netinet/in.h>
#define SOCKET int
#define INVALID_SOCKET -1
#else