<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def write(self, buf):
 """Raw write to the UDP socket."""

        return self.transport_sock.sendto(
            buf,
            (self.transport_host, self.transport_port)
        )