MCPcopy Create free account
hub / github.com/apenwarr/sshuttle / pre_select

Method pre_select

ssnet.py:449–452  ·  view source on GitHub ↗
(self, r, w, x)

Source from the content-addressed store, hash-verified

447 break
448
449 def pre_select(self, r, w, x):
450 _add(r, self.rsock)
451 if self.outbuf:
452 _add(w, self.wsock)
453
454 def callback(self):
455 (r,w,x) = select.select([self.rsock], [self.wsock], [], 0)

Callers 1

runonceFunction · 0.45

Calls 1

_addFunction · 0.85

Tested by

no test coverage detected