Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Passing hash reference over tcp client/server

by newbio (Beadle)
on Nov 13, 2012 at 14:42 UTC ( #1003627=note: print w/ replies, xml ) Need Help??


in reply to Re: Passing hash reference over tcp client/server
in thread Passing hash reference over tcp client/server

Thank you very much 2teez for your suggestion. When I run the client, the program now produces the desired results. However, the problem now is that upon successful client execution, the server program also exits. What I need is that the server program remains persistent in memory and keeps serving multiple client requests that it might receive. Any suggestion? Thanks again!


Comment on Re^2: Passing hash reference over tcp client/server
Re^3: Passing hash reference over tcp client/server
by graff (Chancellor) on Nov 14, 2012 at 11:22 UTC
    Um, if you're using the served code snippet as posted by 2teez, did you happen to uncomment these lines?
    #while (1) { ... #}

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2014-07-26 10:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls