1
0
mirror of https://github.com/lxsang/antd-tunnel-plugin synced 2024-11-16 09:48:21 +01:00
Go to file
2022-08-30 17:48:15 +02:00
dist use network byte order in message 2021-11-27 12:29:28 +01:00
.drone.yml Update .drone.yml 2021-10-04 22:16:35 +02:00
configure.ac use network byte order in message 2021-11-27 12:29:28 +01:00
Jenkinsfile Update Jenkinsfile 2022-08-03 09:36:43 +02:00
LICENSE Create LICENSE 2020-12-25 19:27:48 +01:00
Makefile.am refactory code, fix seg error 2020-08-06 23:17:07 +02:00
README.md Update README.md 2021-01-31 18:14:43 +01:00
tunnel.c use poll instead of select on client sockets whose fid may be greater than 1024 2022-08-30 17:48:15 +02:00

antd-tunnel-plugin

tunnel is an antd plugin providing a generic purpose publish/subscribe message protocol using a single websocket connection.

Build from source

As tunnel is an Antd's plugin, the server must be pre-installed

build dep

  • git
  • make
  • build-essential
  • ant-http (libantd.so)

build

When all dependencies are installed, the build can be done with a few single command lines:

mkdir tunnel
cd tunnel
# replace x.x.x by a version number
wget -O- https://get.iohub.dev/antd_plugin | bash -s "tunnel-x.x.x"

# or install from a tarball distribution in dist/
tar xvzf tunnel-x.x.x.tar.gz
cd tunnel-x.x.x
./configure --prefix=/opt/www --enable-debug=yes
make
sudo make install

Generate distribution

libtoolize
aclocal
autoconf
automake --add-missing
make distcheck