• Joel Martin's avatar
    wswrapper: wrap existing server using LD_PRELOAD. · 5b0bbd5c
    Joel Martin authored
    wswrapper.so is LD_PRELOAD shared library that interposes and turns
    a generic TCP socket into a WebSockets service.
    
    This current version works but will only allow work for a single
    connection, subsequent connections will not be wrapped. In addition
    the wrapper interposes on the first incoming network connection. It
    should read an environment variable to determine the port to interpose
    on. Also, should limit origin based on another environment variable.
    Then there should be a wswrap setup script that allows easier
    invocation.
    5b0bbd5c
Makefile 493 Bytes