摘要:
【视图】 >【其他窗口】 > 【属性管理器 】右键工程 >【添加新项目属性表】打开配置debug/release打开propertysheet找到用户宏即可添加 阅读全文
摘要:
1 #ifndef THREAD_POOL_H 2 #define THREAD_POOL_H 3 4 #include <vector> 5 #include <queue> 6 #include <memory> 7 #include <thread> 8 #include <mutex> 9 阅读全文
摘要:
转载 链接 阅读全文
摘要:
1 #!/usr/bin/python 2 # -*- coding: UTF-8 -*- 3 # 文件名:tcpserver.py 4 5 import socket 6 import time 7 import select 8 9 s = socket.socket(socket.AF_INE 阅读全文
摘要:
1 #!/usr/bin/python 2 # -*- coding: UTF-8 -*- 3 # 文件名:tcpserver.py 4 5 import socket 6 import time 7 MaxBytes=1024*1024 8 9 server = socket.socket(soc 阅读全文