jsonrpc-c
=========
JSON-RPC in C (server only for now)
What?
-----
A library for a C program to receive JSON-RPC requests on tcp sockets (no HTTP).
Free software, MIT license.
Why?
----
I needed a way for an application written in C, running on an embedded Linux system to be configured by
a Java/Swing configuration tool running on a connected laptop. Wanted something simple, human readable,
and saw no need for HTTP.
How?
----
It depends on libev (was already used on the embedded app) and includes cJSON (with a small patch on my fork).
No further dependencies.
###Testing
Run `autoreconf -i` before `./configure` and `make`
Test the example server by running it and typing:
`echo "{\"method\":\"sayHello\"}" | nc localhost 1234`
or
`echo "{\"method\":\"exit\"}" | nc localhost 1234`
Who?
----
@hmngomes
jsonrpc-c-master 基于 json rpc 1.0 纯C开发的服务端代码和示例
需积分: 37 183 浏览量
2022-03-27
10:26:14
上传
评论
收藏 18KB ZIP 举报
春天的风~
- 粉丝: 2
- 资源: 2
最新资源
- ProPresenter 是一款专业级别的演示和制作软件,专为教会、现场活动、演唱会、体育赛事和广播等领域设计
- Privazer 是一款强大的隐私保护和系统清理工具
- iToon 是一款创新的图像编辑软件,专注于将照片转化为卡通和动漫风格的图像
- haproxy-3.1 for windows 64位 不支持ssl
- haproxy-3.1 for windows 64位 支持ssl
- Gillmeister Rename Expert 是一款功能强大且灵活的文件重命名工具
- Node.js - Mastering Node.js
- EssentialPIM Pro Business 是一款专业的个人信息管理 (PIM) 工具
- 《云计算技术》复习大纲.zip
- DbVisualizer Pro 是一款功能强大、用户友好的数据库管理工具,适用于各种数据库开发人员和数据库管理员
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
评论0