# ``twisted`.`internet`.`tcp`.`_SocketCloser``

class documentation

`class _SocketCloser: (source)`

Known subclasses: `twisted.internet.iocpreactor.tcp.Connection`, `twisted.internet.iocpreactor.tcp.Port`, `twisted.internet.tcp.Connection`, `twisted.internet.tcp.Port`

View In Hierarchy

Method | `_closeSocket` | Undocumented
Instance Variable | `_shouldShutdown` | Set to `True` if `shutdown` should be called before calling `close` on the underlying socket.

def _closeSocket(self, orderly): (source)

Undocumented

_shouldShutdown: `bool` = (source)
overridden in `twisted.internet.tcp.Port`
Set to `True` if `shutdown` should be called before calling `close` on the underlying socket.