Python TCP example

A basic example of a TCP client/server network using Python's socket and threading library.

Running

  1. Run server. Use localhost as host and a 16 bit number (lower than 65535) as port.
  2. Run client. Use host.docker.internal as host and same port# used in above step.