You are here: Re: sockets question « PHP Programming Language « IT news, forums, messages
Re: sockets question

Posted by Janwillem Borleffs on 12/18/77 11:49

mydejamail@yahoo.co.uk wrote:
> 1. When reading from a socket, how does socket timeout work?
> Will an fgets wait for timeout length per attempt, or timeout is the
> time allowed for repeated fgets attempts, such as in a loop?
>

Per attempt

> 2. Does timeout have an effect if a socket is set to nonblocking, or
> does it apply to blocking sockets only?

It only applies to blocking sockets


JW

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация