Skip to content

pokermania/pokerterminator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Poker Terminator

Poker Terminator is a software which sits in between a Poker Network server and the browser and translates Packets in JSON format to msgpack format and vice versa.

It listens on a given port for engine.io websocket connections. Whenever a connection is made it also connects to the Poker Network and forwards all packets to and from it.

When either of these connections are closed it closes the other connection too.

Config

# when you start the terminator as root you can drop privileges
setuid:
    uid: <user>
    gid: <group>

# http config
http:
    port: 8080                          # port to listen on
    static: public/                     # static files to serve

# engine.io config
# find more details on https://github.com/LearnBoost/engine.io-client
eio:
    path: /ns.io                        # http path eingine.io will hook into
    transports: [polling, websocket]    # transports to use

# poker network server
network:
    address: localhost
    port: 19387                         # msgpack protocl port

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published