Refactored project structure, added multithreaded echo server and prime checking server, updated tests.
This commit is contained in:
17
server00.h
Normal file
17
server00.h
Normal file
@@ -0,0 +1,17 @@
|
||||
//
|
||||
// Created by Ajurna on 27/07/2025.
|
||||
//
|
||||
|
||||
#ifndef MAIN_H
|
||||
#define MAIN_H
|
||||
|
||||
#endif //MAIN_H
|
||||
#include <winsock2.h>
|
||||
#pragma once
|
||||
|
||||
struct EchoArgs {
|
||||
int connection;
|
||||
SOCKET client;
|
||||
};
|
||||
|
||||
void *echo(void *args);
|
||||
Reference in New Issue
Block a user