first commit, unfinished wip

This commit is contained in:
thorium1256
2026-05-11 15:14:22 +03:00
commit 8f4162305f
16 changed files with 651 additions and 0 deletions

9
include/netcode.h Normal file
View File

@@ -0,0 +1,9 @@
#ifndef NETCODE_H
#define NETCODE_H
// Returns a socket file descriptor.
int NET_Connect(const char* host, int port);
void NET_Send(int sockfd, const char* toSend);
void NET_Close(int sockfd);
#endif