Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample Node Server #5

Open
securenotebook opened this issue Nov 5, 2014 · 0 comments
Open

Sample Node Server #5

securenotebook opened this issue Nov 5, 2014 · 0 comments

Comments

@securenotebook
Copy link

Hi,

would it be possible to get a sample of the node js server code?

I'm trying to connect to a server running on port 3001

i changed SRWebSocket.m line 534

 assert(_url.port.unsignedIntValue <= UINT32_MAX);
    uint32_t port = _url.port.unsignedIntValue;
    if (port == 0) {
        if (!_secure) {
            port = 3001;
        } else {
            port = 443;
        }
    }

but still not getting anywhere, a small sample server would be very useful.

Thanks in advance

Wes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant