16 lines
277 B
C++
Raw Normal View History

2025-01-13 02:35:49 +10:00
#include "socket_up.h"
#include "socket_handler.h"
#include <iostream>
2025-01-13 04:58:58 +10:00
2025-01-13 02:35:49 +10:00
int main() {
SOCKET listenSocket = SocketUp::config_socket_windows();
2025-01-13 04:58:58 +10:00
SocketHandler::working_with_client_windows(listenSocket);
2025-01-13 02:35:49 +10:00
2025-01-13 04:58:58 +10:00
closesocket(listenSocket);
WSACleanup();
2025-01-13 02:35:49 +10:00
return 0;
}