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

Replies are listed 'Best First'.
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) { ... #}