code: def _dgram_send_and_receive(self, _socket, message, buffer_size=4096, *args):
          
          _socket.send(message.encode('utf-8'))
          data, address = _socket.recvfrom(buffer_size)
          return BytesIO(data)
docs: User Datagram Protocol sender and receiver