Skip to content

Latest commit

 

History

History
67 lines (59 loc) · 1.85 KB

README.md

File metadata and controls

67 lines (59 loc) · 1.85 KB

#

Complete Network Socket Programming

Description

A program coded in C++ language using socket programming to illustrate complete network of Chatting or Getting Ip Addresses on internet using DNS and Proxy-DNS Servers. Full description of the project can be viewed Here.

Topology

Manual

  1. Use following commands In Order to Compile and Run ProxyDNS Server:

    g++ proxyDNS.cpp
    
    ./a.out
    
  2. Use following commands In Order to Compile and Run DNS Server:

    g++ DNS.cpp
    
    ./a.out
    
  3. Use following commands In Order to Compile and Run server-dns:

    g++ -pthread server-dns.cpp
    
    ./a.out
    
  4. Use following commands In Order to Compile and Run First Server:

    g++ -pthread server.cpp
    
    ./a.out
    
  5. Use following commands In Order to Compile and Run Second Server:

    g++ -pthread server.cpp
    
    ./a.out
    
  6. Use following commands In Order to Compile and Run Clients:

    g++ client.cpp
    
    ./a.out
    
  7. You can change IPs in the file named as IPs.txt

Working Screenshots