Skip to content

Commit

Permalink
πŸ”Š Updated start log
Browse files Browse the repository at this point in the history
  • Loading branch information
Saravenpi Shigeturi committed Jun 30, 2024
1 parent 6716612 commit c411d30
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions wave.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,9 @@ Server *initServer(int port)

void startWebServer(Server *server)
{
printf("🌊 Wave - A simple C web server\n");
printf(
"[WAVE] Server started on port %d\n", ntohs(server->address.sin_port));
printf("[WAVE] Server host is %s\n", inet_ntoa(server->address.sin_addr));
printf("🌊 Wave server started !\n");
printf("[WAVE] Server port: %d\n", ntohs(server->address.sin_port));
printf("[WAVE] Server host: %s\n", inet_ntoa(server->address.sin_addr));
while (1) {
addSocketsToSet(server);
int activity =
Expand Down

0 comments on commit c411d30

Please sign in to comment.