简体   繁体   English

在2种语言之间交换数据

[英]Exchanging data between 2 languages

I'm trying to pass data from C to python. 我正在尝试将数据从C传递到python。 I've hit a brick wall doing it with beanstalk. 我碰到一堵砖墙用豆茎做。 My last option is sockets. 我的最后一个选择是套接字。

Are they any fast queue daemons around which have client libraries for both C and python? 它们是否有快速队列守护程序,周围都有C和python的客户端库?

Edit: 编辑:
Operating System: Ubuntu 操作系统:Ubuntu
Solved: Check comment by Yossarian 解决:检查Yossarian的评论

Edit2: 编辑2:
libbeanstalkclient, the C client for beanstalk is spewing errors like these -> link libbeanstalkclient,beanstalk的C客户端发出这样的错误-> 链接
Solved: Check comment by Yossarian 解决:检查Yossarian的评论

You aren't linking against libsbeanstalkclient. 您没有针对libsbeanstalkclient进行链接。 try something like gcc -lbeanstalkclient when compiling (add the -l... parameter) 编译时尝试类似gcc -lbeanstalkclient的东西(添加-l ...参数)

(this isn't answer on the question, but solution of questioner's problem) (这不是问题的答案,而是发问者问题的解决方案)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM