MCPcopy Index your code
hub / github.com/secdev/scapy / select

Method select

scapy/layers/smb2.py:4773–4776  ·  view source on GitHub ↗
(sockets, remain=conf.recv_poll_rate)

Source from the content-addressed store, hash-verified

4771
4772 @staticmethod
4773 def select(sockets, remain=conf.recv_poll_rate):
4774 if any(getattr(x, "queue", None) for x in sockets):
4775 return [x for x in sockets if isinstance(x, SMBStreamSocket) and x.queue]
4776 return select_objects(sockets, remain=remain)
4777
4778
4779class SMBSession(DefaultSession):

Callers

nothing calls this directly

Calls 1

select_objectsFunction · 0.90

Tested by

no test coverage detected