← Back to ratslair.com
aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authorr4tss <[email protected]>2021-03-09 13:11:55 +0100
committerr4tss <[email protected]>2021-03-09 13:11:55 +0100
commit2db3a6474692b2704773c29a620429665428fa2d (patch)
tree4d30f0a91fbdcbfa1b3eea318756c14aedeba3a6 /server.c
parent5e2259b66995c5169d302e360b4e07b3bf2620a0 (diff)
Saving changes for later
Diffstat (limited to 'server.c')
-rw-r--r--server.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/server.c b/server.c
index 8eec9a3..37b67a9 100644
--- a/server.c
+++ b/server.c
@@ -4,7 +4,7 @@
#define PORT 8888
-int main()
+void hostGame()
{
int sfd, err = 0;
struct sockaddr_in addr;
@@ -30,6 +30,4 @@ int main()
printf("Failed to listen");
else
printf("Listening...\n");
-
- return 0;
}