programovani socketu

obr na nri.cz obr na nri.cz
Středa Srpen 8 09:56:35 CEST 2001


On Wed, Aug 08, 2001 at 09:45:06AM +0200, Ing. Pavel PaJaSoft Janousek wrote:
> >  Grrr :-) .... resenim je asi select().
> 
> 	Jenze to je defaultne blokujici (coz IMHO nebyl stav, ktery uzivatel
> chtel, on chtel pouze vedet, zda-li ma uz v bufferu data)... - tedy
> pokud nedam mizerne nizky timeout:
> 
> select  waits  for  a number of file descriptors to change status.

je to na ty man strance popsano staci ji precist nebo alespon hledat block.
co to je 'mizerne' nizky timeout, nestaci tam napsat 0 ?

mao


Další informace o konferenci Linux