Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: WebSocket Server Not Responding

by Riales (Hermit)
on May 28, 2013 at 17:31 UTC ( #1035662=note: print w/ replies, xml ) Need Help??

in reply to WebSocket Server Not Responding

For the curious, the problem turned out to be scoping issue. $handle would go out of scope once the server initialized. The fix turned out to just be declaring my $handle; before actually creating it in the on-connect callback for tcp_server.

Comment on Re: WebSocket Server Not Responding
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1035662]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2015-11-29 05:09 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (746 votes), past polls