- 博客(7)
- 收藏
- 关注
原创 快递查询api接口调用例子
利用c语言与快递dpi制作基于代码的查快递的小程序 调试接口 com=快递全称,不知道用auto nu=快递单号 receiverPhone=手机后四位 例子[42-44行] GET /showapi_expInfo?com=auto&nu=YT4052529821846&receiverPhone=9296 HTTP/1.1\r\n 编译方式:其中路径改为自己的cjson目录...
2019-09-23 19:28:34
623
原创 TCP镜子服务器
基于TCP的镜子服务器 当client客户端给server服务端发送数据时将会自动返回自己输入的内容 头文件在主页 编译方式 gcc client.c -o client gcc server.c -o server 运行方式 设备1 ./server 端口号 设备2 ./client ip 端口号 程序主体 服务端 //////////////////////////////...
2019-09-23 19:19:22
191
原创 安卓手机adb自定义动画速度
安卓手机adb自定义动画速度 首先你需要fastboot工具以及一个键盘 连接上手机打开adb调试 第一步:进入shell模式 adb shell 设置动画速度(1.25自己改,范围[0-10]) settings put global window_animation_scale 1.25 settings put global transition_animation_scale 1.2...
2019-09-23 19:11:02
9617
原创 socket从键盘发送多个数据
头文件在主页 编译方式 gcc client.c -o client 运行方式 ./client ip 端口号 程序主体 ////////////////////////////////////////////////////////////////// // // Author: lstwwa // // Date: 2019-9 // // GitHub: github.com/...
2019-09-23 19:03:53
288
原创 socket接收消息
头文件在主页 编译方式 gcc server.c -o server 运行方式 ./server 端口号 程序主体 ////////////////////////////////////////////////////////////////// // // Author: lstwwa // // Date: 2019-9 // // GitHub: github.com/lst...
2019-09-23 18:58:55
977
原创 socket发送广播消息
头文件在主页 编译方式 gcc client.c -o client 运行方式 ./client 端口号 程序主体 #include "lstwwa.h" int main(int argc, char **argv) // ./client 50001 { if(argc != 2) { printf("请指定端口\n"); exit(0); } // 1,创建UDP套接...
2019-09-23 18:48:58
1788
原创 lstwwa头文件-2019年9月23日
lstwwa.h可能用到的一些头文件 #ifndef __LSTWWA_H #define __LSTWWA_H #include <stdlib.h> #include <stdbool.h> #include <string.h> #include <strings.h> #include <arpa/inet.h> #inclu...
2019-09-23 18:43:57
153
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅