tcp/ip网络编程
文章平均质量分 70
阿甘孔乙己
这个作者很懒,什么都没留下…
展开
-
client-server交互计算器-server端/Windows
#include#include#include#include#define BUF_SIZE 1024#define OPSZ 4/* run this program using the console pauser or add your own getch, system("pause") or input loop */void ErrorHandling(char *原创 2015-08-24 15:51:40 · 387 阅读 · 0 评论 -
client-server交互计算器-client端/Windows
源自 tcp/ip 网络编程#include#include#include#include#define BUF_SIZE 1024#define RLT_SIZE 4#define OPSZ 4void ErrorHandling(char *message);int main(int argc,char *argv[]) { char ADDR[] = "127.0原创 2015-08-24 15:53:43 · 375 阅读 · 0 评论 -
文件发送和接收-client 端/windows
#include#include#include#include#define BUF_SIZE 30void ErrorHandling(char *message);int main(int argc,char *argv[]) { char ADDR[] = "127.0.0.1";// 地址 char PORT[] = "9190";//端口 WSADATA w原创 2015-08-25 10:31:23 · 498 阅读 · 0 评论 -
tcp文件发送和接收-server端/windows
#include#include#include#include#define BUF_SIZE 30/* run this program using the console pauser or add your own getch, system("pause") or input loop */void ErrorHandling(char *message);int cal原创 2015-08-25 10:33:22 · 566 阅读 · 0 评论