yogeshraja / SER_CLIC-

A Client-Server architecture in C++ using sockets for multiple files transfer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SER_CLIC

A client-server architecture in C++ using sockets to transfer multiple files


LINUX:

The default gcc compiler that comes with the linux distributions is enough to compile and run the code.

Server : g++ -std=c++17 -pthread server.cpp -o server

Client : g++ -std=c++17 -pthread client.cpp -o client

Usage : ./server ./client <ipaddress/address_name>

WINDOWS:

The visual-c++ compiler can be used to compile and run the code without any additional libraries. While using the mingw or any gcc based compilers the winsock and other libraries has to be mannualy linked using explicit lwsock32 and lws2_32 flags for the compiler args

Server : g++ server.cpp -o server.exe -lwsock32 -lws2_32

Client : g++ client.cpp -o client.exe -lwsock32 -lws2_32

Usage : server client <ipaddress/address_name>

NOTE:

The code has been run and tested on linux and windows systems. But porting to other operating systems is relatively easy. If any assistance needed feel free to raise a ticket.

About

A Client-Server architecture in C++ using sockets for multiple files transfer


Languages

Language:C++ 100.0%