in reply to Send file(s) via socket
I think you will need multiplexing, so that when multiple connection co-exist, they will all appear to get a timely response. Take a look at IO::Select.
Also, better have timeout defined for your socket, so that you can transfer files, and at the same time, periodically check for new connections through accept(), and accept() will no longer block the process (infinitely).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Send file(s) via socket
by rupesh (Hermit) on Jan 22, 2004 at 07:59 UTC |