Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1035662]
help
Chatterbox?
[Lady_Aleena]: I did it! I did it! I did it! # it eq made a page better with a browse feature instead of listing everything at once.

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2017-05-28 07:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?