Flask使用flask_socketio将信息时时推送前台
python使用socket检测TCP端口状态
php实现TCP端口检测的方法
python网络编程模块socket用法介绍