HOME/Articles/

mysql example simple socket server socket init (snippet)

Article Outline

Python mysql example 'simple socket server socket init '

python simple socket server socket init

Python mysql example: simple socket server socket init

HOST_Tgs = '223.88.247.9'
HOST_1001 = '125.217.226.161'
HOST_SCUT = '202.38.213.72'
HOST_localNet = '192.168.1.115'
LOCALHOST = 'localhost'

# host need to be public ip of the virtual machine,
# which can be seen by 'ip addr'
HOST = '10.0.2.15'

# HOST = LOCALHOST
PORT = 5555