Re: linux, sockets, c
- From: Grant Edwards <grante@xxxxxxxx>
- Date: Sat, 28 Jan 2006 20:57:11 -0000
On 2006-01-28, lsg <lsg25@xxxxxxxxx> wrote:
> It takes ~20s. There are n devices (~50). I need to do every 5 min.
> The ideal solutions is to read all devices at the same time. How to
> impement that?
Threads or select/poll or fork. All would work fine.
Select/poll is probably the simplest unless the
decoding/processing takes a long time, then threads might be
easier.
> Maybe it could be done like port scanner?
Maybe, I have no idea what "like port scanner" means.
--
Grant Edwards grante Yow! Oh, I get it!! "The
at BEACH goes on," huh,
visi.com SONNY??
.
- References:
- linux, sockets, c
- From: lsg
- linux, sockets, c
- Prev by Date: Re: Cross-platform, the freedom to choose any computer
- Next by Date: Re: Need to develop "Invoice application" for home based business, any packages in Linux?
- Previous by thread: linux, sockets, c
- Next by thread: Re: linux, sockets, c
- Index(es):