see https://mindchasers.com/dev/net-python-socket