MCPcopy Create free account
hub / github.com/ActiveState/code / accept

Method accept

recipes/Python/572159_SPICE/recipe-572159.py:175–178  ·  view source on GitHub ↗

Return a new Socket_Crypt and address.

(self)

Source from the content-addressed store, hash-verified

173 self.__tails = {}
174
175 def accept(self):
176 'Return a new Socket_Crypt and address.'
177 conn, address = self.__socket.accept()
178 return Socket_Crypt(self.__major, self.__minor, conn), address
179
180 def recv(self, size, flags=0):
181 'Receive and decrypt off socket.'

Callers 15

get_requestMethod · 0.45
get_requestMethod · 0.45
handle_acceptMethod · 0.45
recipe-475149.pyFile · 0.45
pollNewConnFunction · 0.45
handle_acceptMethod · 0.45
recipe-576541.pyFile · 0.45
start_serverFunction · 0.45
loopFunction · 0.45
get_requestMethod · 0.45
runMethod · 0.45
__proxyMethod · 0.45

Calls 1

Socket_CryptClass · 0.85

Tested by

no test coverage detected