in reply to Re^2: Chat room with socket programming question
in thread Chat room with socket programming question

The code you have posted works, but it can only serve one client. I tried connecting a second client but it did not work. I have Windows 7 64 bits and perl 5.22
  • Comment on Re^3: Chat room with socket programming question

Replies are listed 'Best First'.
Re^4: Chat room with socket programming question
by VinsWorldcom (Prior) on Nov 30, 2016 at 21:30 UTC

    Correct. I said it doesn't support that as written. To accept multiple clients, you'll need to add in IO::Select - which I left as your exercise ... your current code has IO::Select in it - should be easy to merge the two.