BSD Ports

www/gwsocket 0.3_1 DragonFly

RFC6455 compliant WebSocket Server

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
www
Package size
27.9 KiB, 56.7 KiB installed

Description

gwsocket is a simple, standalone, language-agnostic, RFC6455 compliant WebSocket Server, written in C.

In the other systems

SystemPortVersion
DragonFlywww/gwsocket0.3_1
FreeBSDwww/gwsocket0.3_1
HardenedBSDwww/gwsocket0.3_1
GhostBSDwww/gwsocket0.3_1

Install

Binary package:

pkg install gwsocket

From DPorts:

cd /usr/dports/www/gwsocket && make install clean

Dependencies

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

To run gwsocket at startup, enable it in your /etc/rc.conf:
sysrc gwsocket_enable="YES"

To start gwsocket:
service gwsocket start

To configure gwsocket edit:
/usr/local/etc/gwsocket/gwsocket.conf

A client example can be found at /usr/local/share/examples/gwsocket/sample.html

To run multiple instances of gwsocket, enable it in your /etc/rc.conf:
sysrc gwsocket_multi_enable="YES"

An instance will be created for each *.conf file found in:
/usr/local/etc/gwsocket