Python network programming

by Security Dude

Python Network Programming I fear will be a day of “yak shaving” but I feel hopeful when I find awesome explanations on the interwebs that make the concepts easy to digest.  Hopefully by the end of the day a multi-threaded server accepting network connections?

To create a server, you need to:

  1. create a socket
  2. bind the socket to an address and port
  3. listen for incoming connections
  4. wait for clients
  5. accept a client
  6. send and receive data

To create a client, you need to:

  1. create a socket
  2. connect to the server
  3. send and receive data