🤬
  • ■ ■ ■ ■ ■ ■
    Projects/0_TCP_server/README.md
    1 1  # TCP server just to receive messages
    2 2  >This simple TCP server receives messages and echoes them back to the client. The client program sets up its socket differently from the way a server does. Instead of binding to a port and listening, it uses connect() to attach the socket directly to the remote address.
     3 + 
     4 +NOTE: Make sure that the terminals running the scripts are separate
     5 + 
     6 +![alt text](https://github.com/alisimran/100-redteam-projects
     7 +/blob/Projects/0_TCP_server/tcpserver.png?raw=true)
     8 + 
     9 +## :information_source: technologies used
     10 + 
     11 +* Python
     12 + 
     13 +## :information_source: How to use?
     14 + 
     15 +```bash
     16 +# Clone the repository
     17 +$ git clone https://github.com/kurogai/100-redteam-projects
     18 + 
     19 +# Enter the repository
     20 +$ cd 100-redteam-projects/0_TCP_server
     21 + 
     22 +# Open a terminal and run
     23 +python ./server.py
     24 + 
     25 +# Open another terminal and run
     26 +python ./client.py
     27 +```
     28 + 
     29 +## :books: References
     30 + https://pymotw.com/2/socket/tcp.html
     31 + 
     32 +## Developer
     33 + https://github.com/alisimran
     34 + 
  • Projects/0_TCP_server/tcpserver.png
Please wait...
Page is in error, reload to recover