- To compile and run server
g++ TCP_socket.cpp tcp_server.cpp -o server
./server
- To compile and run client
g++ TCP_socket.cpp tcp_client.cpp -o client
./client
Basic Implemtation of server and client using TCP socket for Linux system in C++ following OOP style
C++