Logo Search packages:      
Sourcecode: kdenetwork version File versions

bool KServerSocket::setSocketOptions ( int  opts  )  [protected, virtual]

Sets the socket options. Reimplemented from KSocketBase.

Reimplemented from KNetwork::KSocketBase.

Definition at line 91 of file kserversocket.cpp.

References copyError(), KNetwork::KSocketBase::mutex(), KNetwork::KSocketDevice::setSocketOptions(), KNetwork::KSocketBase::setSocketOptions(), and KNetwork::KSocketBase::socketDevice().

  QMutexLocker locker(mutex());
  KSocketBase::setSocketOptions(opts); // call parent
  bool result = socketDevice()->setSocketOptions(opts); // and set the implementation
  return result;

Generated by  Doxygen 1.6.0   Back to index