python实现简单的socket通讯
Talk is cheap, show me the code!!!
服务端socket_server_demo01.py代码如下:
# coding: utf-8
"""
socket 服务器端
基于套接字socket的网络通信
"""
import socket # 导入socket模块
# from time import ctime
import time
# HOST = socket.gethostname() # 主机名, '12