code: def begin_send(self, p):
          
          if hasattr(p, "sent_time"):
              p.sent_time = time.time()
  
          return self.outs.begin_send(bytes(p))
docs: Begin the transmission of message p. This method returns after
          sending the first frame. If multiple frames are necessary to send the
          message, this socket will unable to send other messages until either
          the transmission of this frame succeeds or it fails.