Shutdown one or both socket channels.
- Parameters
-
[in] | ch | the channel(s) to shutdown |
- Returns
- *this
- Note
- If the object implements LDP, that is a unidirectional protocol, the read channel can be shutdown right after connection establishment
Definition at line 299 of file tcpsockbuf.cpp.
References likely, and csdbg::streambuf::m_handle.
tcpsockbuf(const i8 *, i32=g_ldp_port)
Object constructor.
i32 m_handle
Stream handle (descriptor)
#define likely(expr)
Offer a hint (positive) to the pipeline branch predictor.
virtual tcpsockbuf & shutdown(i32) const
Shutdown one or both socket channels.