MCPcopy Create free account
hub / github.com/ELMERIKH/PyinMemoryPE / established

Method established

windows/winobject/network.py:16–18  ·  view source on GitHub ↗

``True`` if connection is established else it's a listening socket

(self)

Source from the content-addressed store, hash-verified

14 """A TCP4 socket (connected or listening)"""
15 @property
16 def established(self):
17 """``True`` if connection is established else it's a listening socket"""
18 return self.dwState == MIB_TCP_STATE_ESTAB
19
20 @property
21 def remote_port(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected