/rust-python-tcp-communicate

Hello World programs, TCP communication between RUST and Python

Primary LanguageRust

rust-python-tcp-communicate

Hello World, programs TCP communication between RUST and Python

How to run these programs

  1. cd rust-code/src
  2. cargo run
  3. This should start the simple TCP rust server at 127.0.0.1:7878
  4. cd ../python-code
  5. `python app.py
  6. A hello will be sent from python to RUST server, and a hola back will be returned from the RUST server.