会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
博客天空
博客园
首页
新随笔
联系
订阅
管理
2020年6月4日
Socket应用demo 获取IP
摘要: 服务端的程序,修改权限至777 ,先运行服务端程序,再运行客户端程序,效果为客户端输入字符,服务端将其打印出来,输入end结束 #include <stdio.h> #include <netdb.h> #include <unistd.h> #include <netinet/in.h> #inc
阅读全文
posted @ 2020-06-04 15:30 前方路wx
阅读(234)
评论(0)
推荐(0)
编辑
公告