MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / send

Method send

tools/python-3.11.9-amd64/Lib/asyncore.py:361–372  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

359 return conn, addr
360
361 def send(self, data):
362 try:
363 result = self.socket.send(data)
364 return result
365 except OSError as why:
366 if why.errno == EWOULDBLOCK:
367 return 0
368 elif why.errno in _DISCONNECTED:
369 self.handle_close()
370 return 0
371 else:
372 raise
373
374 def recv(self, buffer_size):
375 try:

Callers 1

initiate_sendMethod · 0.45

Calls 1

handle_closeMethod · 0.95

Tested by

no test coverage detected