Sample python server using sockets