gwsocket is a simple, standalone, language-agnostic, RFC6455 compliant WebSocket Server, written in C. It sits between your application and the client's browser, giving fast bidirectional communication between these two with ease and flexibility. More info at: http://gwsocket.io. PR: 247884 Submitted by: Daniel Morante <daniel@morante.net>
27 lines
503 B
Plaintext
27 lines
503 B
Plaintext
[
|
|
{ type: install
|
|
message: <<EOM
|
|
|
|
To run %%PORTNAME%% at startup, enable it in your /etc/rc.conf:
|
|
sysrc %%PORTNAME%%_enable="YES"
|
|
|
|
To start %%PORTNAME%%:
|
|
service %%PORTNAME%% start
|
|
|
|
To configure %%PORTNAME%% edit:
|
|
%%ETCDIR%%/%%PORTNAME%%.conf
|
|
|
|
A client example can be found at %%EXAMPLESDIR%%/sample.html
|
|
|
|
To run multiple instances of %%PORTNAME%%, enable it in your /etc/rc.conf:
|
|
sysrc %%PORTNAME%%_multi_enable="YES"
|
|
|
|
An instance will be created for each *.conf file found in:
|
|
%%ETCDIR%%
|
|
|
|
EOM
|
|
}
|
|
]
|
|
|
|
|