码迷,mamicode.com
首页 >  
搜索关键字:server接收消息    ( 2个结果
TCP服务器,实现client发送消息,server接收消息
server.c#include<stdio.h>#include<sys/types.h>#include<sys/socket.h>#include<string.h>#include<netinet/in.h>#include<arpa/inet.h>#include<stdlib.h>#include<pthread.h>staticvoidusage(constchar*proc){printf("Usa..
分类:其他好文   时间:2016-07-30 15:12:54    阅读次数:398
Python3.4 threading socket 学习
#!/usr/bin/env python3#file name: threadtest.py# -*- coding:utf8 -*-# -version:1.0-import threading, time, socketclass Server(): '''接收消息的服务器类''' def _...
分类:编程语言   时间:2015-05-14 13:54:30    阅读次数:199
2条  
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!