in reply to socket sending/getting one message then nothing
You need to have some sort of loop which looks for additional input from the current client. If you plan on handling multiple clients at the same time, you will probably want to use select (or IO::Select). perlipc should prove helpful as well.
P.S. Your code appears to have been slightly munged, around the lines where input is being read.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(jptxs) Re: socket sending/getting one message then nothing
by jptxs (Curate) on Apr 11, 2001 at 21:27 UTC |