<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def send_frame(self, frame):
 """ Sends a frame to connected socket client. @param frame: The frame to send. @type frame: C{stompclient.frame.Frame} """

        packed = frame.pack()
        if self.debug:  # pragma: no cover
            self.log.debug("SEND: %r" % packed)
        self.request.sendall(packed)