Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

PINLINE void PChannel::SetReadTimeout ( const PTimeInterval time  )  [inherited]

Set the timeout for read operations. This may be zero for immediate return of data through to PMaxTimeInterval# which will wait forever for the read request to be filled.

Note that this function may not be available, or meaningfull, for all channels. In that case it is set but ignored.

time  The new time interval for read operations.

Definition at line 511 of file osutil.inl.

References PChannel::readTimeout.

Referenced by PInternetProtocol::Accept(), PPOP3Client::Close(), PSMTPClient::Close(), PInternetProtocol::Connect(), PSTUNClient::CreateSocket(), PInternetProtocol::ExecuteCommand(), PInternetProtocol::PInternetProtocol(), PChannel::ReadCharWithTimeout(), PInternetProtocol::ReadLine(), and PChannel::SendCommandString().

  { readTimeout = time; }

Generated by  Doxygen 1.6.0   Back to index