您尚未登录。

楼主 #1 2021-04-28 14:06:15

歌以咏志
会员
注册时间: 2019-09-21
已发帖子: 219
积分: 210

编译 librws websocket 自动测试程序

源码: librws.git.tgz

命令:

git clone https://github.com/OlehKulykov/librws.git
cd librws/src
gcc -o test                 librws.c               rws_common.c           rws_error.c            rws_frame.c            rws_list.c             rws_memory.c           rws_socketpriv.c       rws_socketpub.c        rws_string.c           rws_thread.c           ../test/test_librws_socket_get_set.c -I../ -lpthread
./test

过程:

# git clone https://github.com/OlehKulykov/librws.git
Cloning into 'librws'...
remote: Enumerating objects: 1020, done.
remote: Total 1020 (delta 0), reused 0 (delta 0), pack-reused 1020
Receiving objects: 100% (1020/1020), 1.95 MiB | 1.22 MiB/s, done.
Resolving deltas: 100% (541/541), done.
#
#
#cd librws/src
#
#gcc -o test                 librws.c               rws_common.c           rws_error.c            rws_frame.c            rws_list.c             rws_memory.c           rws_socketpriv.c       rws_socketpub.c        rws_string.c           rws_thread.c           ../test/test_librws_socket_get_set.c -I../ -lpthread
#
# ./test
52
53
55
56
58
59
61
62
64
65
69
70
72
73
75
76

最近编辑记录 歌以咏志 (2021-04-28 14:08:32)

离线

#2 2021-04-28 14:11:53

LinjieGuo
Moderator
注册时间: 2019-07-24
已发帖子: 581
积分: 585
个人网站

Re: 编译 librws websocket 自动测试程序

楼主V587

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn