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

BOOL PSocket::Shutdown ( ShutdownValue  option  )  [virtual, inherited]

Close one or both of the data streams associated with a socket

Returns:
TRUE if the shutdown was performed
Parameters:
option  Flag for shutdown of read, write or both.

Reimplemented from PChannel.

Definition at line 1510 of file sockets.cxx.

References PChannel::ConvertOSError(), and PChannel::os_handle.

{
  return ConvertOSError(::shutdown(os_handle, value));
}


Generated by  Doxygen 1.6.0   Back to index